From 38daed324464666b5a4bb6a758c60e960b4610f0 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Wed, 27 Mar 2013 19:00:50 +0000 Subject: Fix some warnings caused by lack of noreturn --- src/renderercommon/tr_public.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/renderercommon') 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 -- cgit