summaryrefslogtreecommitdiff
path: root/src/renderercommon
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/renderercommon
parentf68ed0529955386976608b235b26f0abe8fc87c4 (diff)
Fix some warnings caused by lack of noreturn
Diffstat (limited to 'src/renderercommon')
-rw-r--r--src/renderercommon/tr_public.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/renderercommon/tr_public.h b/src/renderercommon/tr_public.h
index 2c8a144b..59ee014b 100644
--- a/src/renderercommon/tr_public.h
+++ b/src/renderercommon/tr_public.h
@@ -111,7 +111,7 @@ typedef struct {
void (QDECL *Printf)( int printLevel, const char *fmt, ...) __attribute__ ((format (printf, 2, 3)));
// abort the game
- void (QDECL *Error)( int errorLevel, const char *fmt, ...) __attribute__ ((format (printf, 2, 3)));
+ void (QDECL *Error)( int errorLevel, const char *fmt, ...) __attribute__ ((noreturn, format (printf, 2, 3)));
// milliseconds should only be used for profiling, never
// for anything game related. Get time from the refdef