add some noreturn annotations
This commit is contained in:
parent
2d54a12615
commit
830d93aa38
3 changed files with 3 additions and 3 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue