From: Vadim Zeitlin Date: Sat, 19 Feb 2011 14:16:58 +0000 (+0000) Subject: Remove extra semicolons in Objective-C code. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/dbbb040c9ffd6633e68bc15d0176fddacf54a824 Remove extra semicolons in Objective-C code. The semicolons after the method signature in its implementation are useless and, in fact, provoke warnings from the compiler used by Xcode 4. Simply remove them. See #12927. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/osx/cocoa/notebook.mm b/src/osx/cocoa/notebook.mm index bba36f5d94..5dff77fb3c 100644 --- a/src/osx/cocoa/notebook.mm +++ b/src/osx/cocoa/notebook.mm @@ -66,8 +66,7 @@ return YES; } -- (void)tabView:(NSTabView *)tabView didSelectTabViewItem:(NSTabViewItem *)tabViewItem; - +- (void)tabView:(NSTabView *)tabView didSelectTabViewItem:(NSTabViewItem *)tabViewItem { wxUnusedVar(tabViewItem); wxNSTabView* view = (wxNSTabView*) tabView; diff --git a/src/osx/cocoa/utils.mm b/src/osx/cocoa/utils.mm index fb325bd19c..ea7f08edd0 100644 --- a/src/osx/cocoa/utils.mm +++ b/src/osx/cocoa/utils.mm @@ -72,7 +72,7 @@ void wxBell() wxUnusedVar(application); } -- (BOOL)application:(NSApplication *)sender openFile:(NSString *)filename; +- (BOOL)application:(NSApplication *)sender openFile:(NSString *)filename { wxUnusedVar(sender); wxCFStringRef cf(wxCFRetain(filename)); @@ -80,7 +80,7 @@ void wxBell() return YES; } -- (BOOL)applicationShouldOpenUntitledFile:(NSApplication *)sender; +- (BOOL)applicationShouldOpenUntitledFile:(NSApplication *)sender { wxUnusedVar(sender); wxTheApp->MacNewFile() ;