mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-20 07:00:03 +01:00
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 f79af19417)
This commit is contained in:
parent
9ec1c29d75
commit
daaada9113
1 changed files with 1 additions and 1 deletions
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue