From: Vadim Zeitlin Date: Sun, 13 Apr 2003 02:22:52 +0000 (+0000) Subject: fixed unused variable warning X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/84a667dc065e2a6fac37e9287a81b7bc02aa4056 fixed unused variable warning git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/app.cpp b/src/mac/app.cpp index 71ea9d67d1..bedbae9605 100644 --- a/src/mac/app.cpp +++ b/src/mac/app.cpp @@ -303,10 +303,7 @@ void wxApp::MacNewFile() static pascal OSStatus MenuEventHandler( EventHandlerCallRef handler , EventRef event , void *data ) { - OSStatus result = eventNotHandledErr ; - UInt32 kind = GetEventKind( event ) ; - - return result ; + return eventNotHandledErr ; } // due to the rather low-level event API of wxWindows, we cannot use RunApplicationEventLoop diff --git a/src/mac/carbon/app.cpp b/src/mac/carbon/app.cpp index 71ea9d67d1..bedbae9605 100644 --- a/src/mac/carbon/app.cpp +++ b/src/mac/carbon/app.cpp @@ -303,10 +303,7 @@ void wxApp::MacNewFile() static pascal OSStatus MenuEventHandler( EventHandlerCallRef handler , EventRef event , void *data ) { - OSStatus result = eventNotHandledErr ; - UInt32 kind = GetEventKind( event ) ; - - return result ; + return eventNotHandledErr ; } // due to the rather low-level event API of wxWindows, we cannot use RunApplicationEventLoop