From: Vadim Zeitlin Date: Mon, 10 Nov 2008 14:01:56 +0000 (+0000) Subject: fix another VC6 compilation error because of loop variable reuse X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/2985d7b76cedb07486a4b1269dcd41636b54e7ab fix another VC6 compilation error because of loop variable reuse git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/utils/ifacecheck/src/ifacecheck.cpp b/utils/ifacecheck/src/ifacecheck.cpp index 78abbe78ec..0129db1fc6 100644 --- a/utils/ifacecheck/src/ifacecheck.cpp +++ b/utils/ifacecheck/src/ifacecheck.cpp @@ -494,7 +494,7 @@ bool IfaceCheckApp::FixMethod(const wxString& header, const wxMethod* iface, con } // remove the old prototype - for (int i=start; i<=end; i++) + for (int k=start; k<=end; k++) file.RemoveLine(start); // remove (end-start)-nth times the start-th line #define INDENTATION_STR wxString(" ")