summaryrefslogtreecommitdiff
path: root/src/qcommon/qcommon.h
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2013-03-27 19:00:50 +0000
committerTim Angus <tim@ngus.net>2013-03-27 19:00:50 +0000
commit38daed324464666b5a4bb6a758c60e960b4610f0 (patch)
treee85a8d868ccc91833955be39bf35ca65485fb262 /src/qcommon/qcommon.h
parentf68ed0529955386976608b235b26f0abe8fc87c4 (diff)
Fix some warnings caused by lack of noreturn
Diffstat (limited to 'src/qcommon/qcommon.h')
-rw-r--r--src/qcommon/qcommon.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qcommon/qcommon.h b/src/qcommon/qcommon.h
index 21473c0f..6f235ee9 100644
--- a/src/qcommon/qcommon.h
+++ b/src/qcommon/qcommon.h
@@ -794,7 +794,7 @@ void Com_BeginRedirect (char *buffer, int buffersize, void (*flush)(char *));
void Com_EndRedirect( void );
void QDECL Com_Printf( const char *fmt, ... ) __attribute__ ((format (printf, 1, 2)));
void QDECL Com_DPrintf( const char *fmt, ... ) __attribute__ ((format (printf, 1, 2)));
-void QDECL Com_Error( int code, const char *fmt, ... ) __attribute__ ((format(printf, 2, 3)));
+void QDECL Com_Error( int code, const char *fmt, ... ) __attribute__ ((noreturn, format(printf, 2, 3)));
void Com_Quit_f( void ) __attribute__ ((noreturn));
void Com_GameRestart(int checksumFeed, qboolean disconnect);