diff --git a/uppbox/uppweb/cpp.cpp b/uppbox/uppweb/cpp.cpp index 36dd6dce9..d332ca014 100644 --- a/uppbox/uppweb/cpp.cpp +++ b/uppbox/uppweb/cpp.cpp @@ -54,11 +54,12 @@ String CppAsQtf(const String& str) if(*s == '\n') qtf << '&'; else - if((byte)*s >= 32) + if((byte)*s >= 32) { if(strchr("!+-*^/%~&|=[]:?<>.#", *s)) qtf << "[@B `" << *s << "]"; else qtf << '`' << *s; + } s++; } } diff --git a/uppbox/uppweb/topictree.cpp b/uppbox/uppweb/topictree.cpp index 3ffa223ad..cff0278e7 100644 --- a/uppbox/uppweb/topictree.cpp +++ b/uppbox/uppweb/topictree.cpp @@ -78,7 +78,6 @@ struct GatherLinkIterator : RichText::Iterator { LLOG("GatherLink " << l); if(l[0] == ':') { int q = reflink.Find(l); - int w = q; if(q < 0) q = reflink.Find(l + "::class"); if(q < 0) diff --git a/uppbox/uppweb/www.cpp b/uppbox/uppweb/www.cpp index e03177551..2851398f2 100644 --- a/uppbox/uppweb/www.cpp +++ b/uppbox/uppweb/www.cpp @@ -569,7 +569,6 @@ void ExportPage(int i) for (int iHtml = 0; iHtml < htmlrep.GetCount(); ++iHtml) page.Replace(String("QTFHTMLTEXT") + FormatInt(iHtml), htmlrep[iHtml]); - Color paper = SWhite; if(path == "topic://uppweb/www/download_en-us") page << LoadFile(GetRcFile("adsense3.txt")); /* if(path == "topic://uppweb/www/index$en-us") { @@ -1041,7 +1040,6 @@ CONSOLE_APP_MAIN labels.Add(l, lbl); } - Date d = GetSysDate(); lastUpdate = HtmlItalic() / HtmlArial(8) / HtmlFontColor(Gray()) / (String().Cat() << "Last update " << GetSysDate());