From 2985d7b76cedb07486a4b1269dcd41636b54e7ab Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 10 Nov 2008 14:01:56 +0000 Subject: [PATCH] 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 --- utils/ifacecheck/src/ifacecheck.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(" ") -- 2.47.2