add some noreturn annotations

This commit is contained in:
/dev/humancontroller 2013-04-14 18:33:24 +02:00 committed by Zack Middleton
parent 2d54a12615
commit 830d93aa38
3 changed files with 3 additions and 3 deletions

View file

@ -2248,7 +2248,7 @@ Just throw a fatal error to
test error shutdown procedures
=============
*/
static void Com_Error_f (void) {
static void __attribute__((__noreturn__)) Com_Error_f (void) {
if ( Cmd_Argc() > 1 ) {
Com_Error( ERR_DROP, "Testing drop error" );
} else {