]> git.saurik.com Git - wxWidgets.git/commitdiff
fix another VC6 compilation error because of loop variable reuse
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 10 Nov 2008 14:01:56 +0000 (14:01 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 10 Nov 2008 14:01:56 +0000 (14:01 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

utils/ifacecheck/src/ifacecheck.cpp

index 78abbe78ec496fa9d42c34798b4c7b3f23996658..0129db1fc636a4fe9129bce343556b2d6dbf9889 100644 (file)
@@ -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("    ")