From 84a667dc065e2a6fac37e9287a81b7bc02aa4056 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 13 Apr 2003 02:22:52 +0000 Subject: [PATCH] fixed unused variable warning git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/app.cpp | 5 +---- src/mac/carbon/app.cpp | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) 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 -- 2.45.2