From: Vadim Zeitlin Date: Sun, 29 Oct 2006 23:38:37 +0000 (+0000) Subject: removed unused variable (thanks Borland) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/1fcac43d7a62883f296889d395b89dc81ef353d2 removed unused variable (thanks Borland) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/ole/activex.cpp b/src/msw/ole/activex.cpp index 2c53f29629..e54ffabb78 100644 --- a/src/msw/ole/activex.cpp +++ b/src/msw/ole/activex.cpp @@ -894,7 +894,6 @@ void wxActiveXContainer::CreateActiveX(REFIID iid, IUnknown* pUnk) continue; // check if default event sink - bool defInterface = false; bool defEventSink = false; int impTypeFlags = 0; typeInfo->GetImplTypeFlags(i, &impTypeFlags); @@ -912,11 +911,6 @@ void wxActiveXContainer::CreateActiveX(REFIID iid, IUnknown* pUnk) wxFAIL_MSG(wxT("Default event sink is in vtable!")); } } - else - { - // WXOLE_TRACEOUT("Default Interface"); - defInterface = true; - } }