diff options
Diffstat (limited to 'src/cgame/cg_syscalls.c')
-rw-r--r-- | src/cgame/cg_syscalls.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cgame/cg_syscalls.c b/src/cgame/cg_syscalls.c index e3c53411..4765751d 100644 --- a/src/cgame/cg_syscalls.c +++ b/src/cgame/cg_syscalls.c @@ -51,6 +51,8 @@ void trap_Print( const char *fmt ) void trap_Error( const char *fmt ) { syscall( CG_ERROR, fmt ); + // shut up GCC warning about returning functions, because we know better + exit(1); } int trap_Milliseconds( void ) |