diff options
author | Tim Angus <tim@ngus.net> | 2013-03-27 19:00:50 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-03-27 19:00:50 +0000 |
commit | 38daed324464666b5a4bb6a758c60e960b4610f0 (patch) | |
tree | e85a8d868ccc91833955be39bf35ca65485fb262 /src/qcommon/q_shared.h | |
parent | f68ed0529955386976608b235b26f0abe8fc87c4 (diff) |
Fix some warnings caused by lack of noreturn
Diffstat (limited to 'src/qcommon/q_shared.h')
-rw-r--r-- | src/qcommon/q_shared.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qcommon/q_shared.h b/src/qcommon/q_shared.h index 816657f6..a85e3473 100644 --- a/src/qcommon/q_shared.h +++ b/src/qcommon/q_shared.h @@ -920,7 +920,7 @@ qboolean Info_Validate( const char *s ); void Info_NextPair( const char **s, char *key, char *value ); // this is only here so the functions in q_shared.c and bg_*.c can link -void QDECL Com_Error( int level, const char *error, ... ) __attribute__ ((format(printf, 2, 3))); +void QDECL Com_Error( int level, const char *error, ... ) __attribute__ ((noreturn, format(printf, 2, 3))); void QDECL Com_Printf( const char *msg, ... ) __attribute__ ((format (printf, 1, 2))); |