add some noreturn annotations
This commit is contained in:
1 parent
2d54a12615
commit
830d93aa38
3 files changed
+3
-3
No files matched your search
@@ -381,7 +381,7 @@ Error handler for jump/call to invalid instruction number
|
||||
=================
|
||||
*/
|
||||
|
||||
static void ErrJump(void)
|
||||
static void __attribute__((__noreturn__)) ErrJump(void)
|
||||
{
|
||||
Com_Error(ERR_DROP, "program tried to execute code outside VM");
|
||||
exit(1);
|
||||
|
||||
Reference in new issue
Block a user