diff options
author | Jeremy Huddleston Sequoia <jeremyhu@apple.com> | 2013-12-29 12:41:18 -0800 |
---|---|---|
committer | Jeremy Huddleston Sequoia <jeremyhu@apple.com> | 2014-01-22 15:15:37 -0800 |
commit | 33b2ae0f3b4a80fd962d876f7437d98fcfc27791 (patch) | |
tree | 9028a8a83c1ece50b6be6e2779e99ffe32f96dce | |
parent | 404f26866147be1c26585e59d9795e87e0c3e5fa (diff) |
XQuartz: Mark applicationWillTerminate: noreturn
X11Controller.m:938:1: warning: method 'applicationWillTerminate:' could be declared with attribute 'noreturn'
[-Wmissing-noreturn,Semantic Issue]
{
^
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
(cherry picked from commit f79af1941776fd6f1ec26c50603fcc35ca7d514b)
-rw-r--r-- | hw/xquartz/X11Controller.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xquartz/X11Controller.m b/hw/xquartz/X11Controller.m index 752bda35c..5445c6f3a 100644 --- a/hw/xquartz/X11Controller.m +++ b/hw/xquartz/X11Controller.m @@ -934,7 +934,7 @@ extern char *bundle_id_prefix; == NSAlertDefaultReturn) ? NSTerminateNow : NSTerminateCancel; } -- (void) applicationWillTerminate:(NSNotification *)aNotification +- (void) applicationWillTerminate:(NSNotification *)aNotification _X_NORETURN { int remain; [X11App prefs_synchronize]; |