From 71179c67de98d36d46b1ac1fd6b4f66108604a60 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 12 Oct 2008 22:30:04 +0000 Subject: [PATCH] get rid of unused variable warning git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- utils/ifacecheck/src/ifacecheck.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/ifacecheck/src/ifacecheck.cpp b/utils/ifacecheck/src/ifacecheck.cpp index 5c6c6b4e63..7c89afc015 100644 --- a/utils/ifacecheck/src/ifacecheck.cpp +++ b/utils/ifacecheck/src/ifacecheck.cpp @@ -303,12 +303,12 @@ int IfaceCheckApp::CompareClasses(const wxClass* iface, const wxClass* api) if (!real) { - bool exit = false; wxMethodPtrArray overloads = api->RecursiveUpwardFindMethodsNamed(m.GetName(), &m_gccInterface); #define HACK_TO_AUTO_CORRECT_ONLY_METHOD_ATTRIBUTES 0 #if HACK_TO_AUTO_CORRECT_ONLY_METHOD_ATTRIBUTES + bool exit = false; for (unsigned int k=0; kMatchesExceptForAttributes(m) && overloads[k]->IsPureVirtual() == m.IsPureVirtual()) @@ -327,7 +327,7 @@ int IfaceCheckApp::CompareClasses(const wxClass* iface, const wxClass* api) if (!exit) { -#endif +#endif // HACK_TO_AUTO_CORRECT_ONLY_METHOD_ATTRIBUTES if (overloads.GetCount()==0) { -- 2.45.2