Index: coff/lib.cpp =================================================================== --- coff/lib.cpp (revision 2960) +++ coff/lib.cpp (working copy) @@ -34,7 +34,7 @@ } ArchiveJob::Object::Object(ArchiveJob& archive, int index, String fn, String od, double ft, int ho, bool nf) -: archive(archive), index(index), filename(fn), object_data(od), filetime(ft), header_offset(ho), newfile(nf) +: archive(archive), index(index), filename(fn), object_data(od), filetime(ft), newfile(nf), header_offset(ho) { trimmed_name = archive.TrimObjectName(filename); longname_offset = -1; @@ -107,7 +107,6 @@ if(verbose) PutStdOut(NFormat("%s: reading archive (%d B)", libfile, mapping.GetFileSize())); - int objcount = -1; const byte *ptr = mapping.GetIter(8); const byte *end = mapping.End(); const byte *longptr = NULL; Index: Core/heap.cpp =================================================================== --- Core/heap.cpp (revision 2960) +++ Core/heap.cpp (working copy) @@ -18,7 +18,6 @@ return; LLOG("Init heap " << (void *)this); for(int i = 0; i < NKLASS; i++) { - int sz = Ksz(i); empty[i] = NULL; full[i]->LinkSelf(); work[i]->LinkSelf(); Index: Core/parser.cpp =================================================================== --- Core/parser.cpp (revision 2960) +++ Core/parser.cpp (working copy) @@ -381,7 +381,7 @@ } CParser::CParser(const char *ptr, const char *fn, int line) -: term(ptr), line(line), fn(fn), lineptr(ptr) +: term(ptr), lineptr(ptr), line(line), fn(fn) { skipspaces = true; Spaces(); Index: Core/XML.cpp =================================================================== --- Core/XML.cpp (revision 2960) +++ Core/XML.cpp (working copy) @@ -860,7 +860,6 @@ XmlTag tag(node.GetText()); for(int i = 0; i < node.GetAttrCount(); i++) tag(node.AttrId(i), node.Attr(i)); - bool preserve = false; if(node.GetCount()) { StringBuffer body; for(int i = 0; i < node.GetCount(); i++) Index: CtrlLib/ChWin32.cpp =================================================================== --- CtrlLib/ChWin32.cpp (revision 2960) +++ CtrlLib/ChWin32.cpp (working copy) @@ -167,7 +167,6 @@ if(!theme) return Null; int n = Null; - int x = 0; int r = XpTheme().GetThemeInt(theme, part, state, type, &n); return r == S_OK ? n : Null; } @@ -177,7 +176,6 @@ HANDLE theme = XpWidget(widget); if(!theme) return Null; - int x = 0; BOOL flag = false; int r = XpTheme().GetThemeBool(theme, part, state, type, &flag); return r == S_OK ? flag : Null; Index: CtrlLib/ColumnList.cpp =================================================================== --- CtrlLib/ColumnList.cpp (revision 2960) +++ CtrlLib/ColumnList.cpp (working copy) @@ -437,7 +437,6 @@ int pos = sb % cy; int y = -pos; int i = GetSbPos(sz); - int coli = 0; while(y < sz.cy-pos+cy) { int x = 0; while (x + cx <= sz.cx) { Index: CtrlLib/LabelBase.cpp =================================================================== --- CtrlLib/LabelBase.cpp (revision 2960) +++ CtrlLib/LabelBase.cpp (working copy) @@ -79,7 +79,6 @@ byte akey = 0; int pos = 0; String text; - const char* start = s; bool qtf = *s == '\1'; while(*s) if((*s == '&' && !qtf || *s == '\b') && s[1] && s[1] != '&') { @@ -488,7 +487,6 @@ Ctrl *top = ctrl->GetTopCtrl(); if(top && top->HasFocusDeep()) { Size sz = display->GetStdSize(value); - Ctrl *top = ctrl->GetTopWindow(); if(sz.cx + 2 * margin > item.GetWidth() || sz.cy > item.GetHeight()) { Rect wa = GetWorkArea(); slim = item + ctrl->GetScreenView().TopLeft(); Index: CtrlLib/MenuItem.cpp =================================================================== --- CtrlLib/MenuItem.cpp (revision 2960) +++ CtrlLib/MenuItem.cpp (working copy) @@ -111,7 +111,7 @@ int mnemonic) { int apos = HIWORD(mnemonic); - int akey = LOWORD(mnemonic); +// int akey = LOWORD(mnemonic); int q; if(apos && apos < s.GetLength()) q = apos - 1; Index: HexView/HexView.cpp =================================================================== --- HexView/HexView.cpp (revision 2960) +++ HexView/HexView.cpp (working copy) @@ -104,12 +104,12 @@ i = 0; for(;;) { if(data[i] < 0) { - if(i < sizeof(float)) + if((unsigned)i < sizeof(float)) ftxt = "?"; txt = "?"; break; } - if(i >= sizeof(double)) { + if((unsigned)i >= sizeof(double)) { double h; memcpy(&h, sh, sizeof(double)); txt = Sprintf("%.8g", h); @@ -310,7 +310,6 @@ { int pg = max(columns, bytes - columns); int q = int(sc % columns); - int64 c = cursor & ~1023; switch(key) { case K_LEFT: SetCursor(cursor - 1); Index: ide/Browser/CodeRef.cpp =================================================================== --- ide/Browser/CodeRef.cpp (revision 2960) +++ ide/Browser/CodeRef.cpp (working copy) @@ -271,7 +271,6 @@ d.Clear(); d = "[%% "; Vector p = Split(m.pname, ';'); - bool was = false; if(!str) for(int i = 0; i < p.GetCount(); i++) d << " [%-*@r " << DeQtf(p[i]) << "]"; Index: ide/FindInFiles.cpp =================================================================== --- ide/FindInFiles.cpp (revision 2960) +++ ide/FindInFiles.cpp (working copy) @@ -219,11 +219,9 @@ ffdlg.mask.NullText("Search"); ffdlg.mask.SetFilter(CharFilterFindFileMask); ffdlg.mask <<= ffdlg.Breaker(IDYES); - int prev = 0; for(;;) { ffdlg.list.Clear(); String mask = ~ffdlg.mask; - const char *best_err = NULL; for(int p = 0; p < wspc.GetCount(); p++) { String packname = wspc[p]; const Package& pack = wspc.GetPackage(p); Index: ide/ide.cpp =================================================================== --- ide/ide.cpp (revision 2960) +++ ide/ide.cpp (working copy) @@ -319,7 +319,6 @@ String file; int lineno; int error; - int q = btabs.GetCursor(); Console& c = GetConsole(); if (FindLineError(c.GetUtf8Line(l), host, file, lineno, error)) { file = NormalizePath(file); Index: ide/Print.cpp =================================================================== --- ide/Print.cpp (revision 2960) +++ ide/Print.cpp (working copy) @@ -112,7 +112,6 @@ job.Landscape(dlg.orientation); if(!job.Execute()) return; - Draw& w = job; int l, h; if(editor.GetSelection(l, h)) { l = editor.GetLine(l); Index: ide/UppWspc.cpp =================================================================== --- ide/UppWspc.cpp (revision 2960) +++ ide/UppWspc.cpp (working copy) @@ -310,6 +310,7 @@ case HOME_FILE: fs->ActiveDir(GetHomeDirectory()); break; #endif case LOCAL_FILE: fs->ActiveDir(GetLocalDir()); break; + default: ; } if(!fs->ExecuteOpen("Add files to package..")) return; int fci = filelist.GetCursor(); @@ -426,7 +427,6 @@ Progress pi("Importing file %d"); int fci = filelist.GetCursor(); int cs = filelist.GetSbPos(); - int ci = fci >= 0 && fci < fileindex.GetCount() ? fileindex[fci] : -1; try { DoImport(~dlg.folder, ~dlg.files, false, pi); } Index: Painter/Image.cpp =================================================================== --- Painter/Image.cpp (revision 2960) +++ Painter/Image.cpp (working copy) @@ -75,7 +75,6 @@ Image image; void Set(const Xform2D& m, const Image& img) { - int level = 0; image = img; int nx = 1; int ny = 1; Index: Painter/RadialGradient.cpp =================================================================== --- Painter/RadialGradient.cpp (revision 2960) +++ Painter/RadialGradient.cpp (working copy) @@ -19,8 +19,6 @@ fy = _fy; fx -= cx; fy -= cy; - double fx2 = double(fx) * double(fx); - double fy2 = double(fy) * double(fy); C = fx * fx + fy * fy - r * r; } Index: Painter/Rasterizer.cpp =================================================================== --- Painter/Rasterizer.cpp (revision 2960) +++ Painter/Rasterizer.cpp (working copy) @@ -186,7 +186,6 @@ LLOG("Rasterizer::LineRaw " << x1 / 256.0 << ':' << y1 / 256.0 << " - " << x2 / 256.0 << ':' << y2 / 256.0); int ex1 = x1 >> 8; - int ex2 = x2 >> 8; int ey1 = y1 >> 8; int ey2 = y2 >> 8; @@ -233,8 +232,7 @@ } incr = 1; if(dx == 0) { - int ex = x1 >> 8; - int two_fx = (x1 - (ex << 8)) << 1; + int two_fx = (x1 - (ex1 << 8)) << 1; int area; first = 256; if(dy < 0) { Index: RichText/TxtPaint.cpp =================================================================== --- RichText/TxtPaint.cpp (revision 2960) +++ RichText/TxtPaint.cpp (working copy) @@ -41,7 +41,6 @@ } void RichTxt::Sync(int parti, const RichContext& rc) const { - int cx = rc.page.Width(); ASSERT(part[parti].Is()); const Para& pp = part[parti].Get(); if(rc.page.Width() != pp.ccx) Index: usvn/SvnFs.cpp =================================================================== --- usvn/SvnFs.cpp (revision 2960) +++ usvn/SvnFs.cpp (working copy) @@ -35,7 +35,6 @@ for(int i = 0; i < l.GetCount(); i++) { String fn = l[i]; if(fn.GetLength()) { - bool isdir = false; if(*fn.Last() == '/' || *fn.Last() == '\\') { fn.Trim(fn.GetLength() - 1); if(pass == 0)