remove some redundant exit() calls

This commit is contained in:
/dev/humancontroller authored and Zack Middleton committed 2013-05-30 15:41:18 -05:00
1 parent 830d93aa38
commit 8cc817b5a3
2 files changed
+1 -6

No files matched your search

+1 -5
View File
@@ -45,11 +45,7 @@ static clock_t time_total_vm = 0;
#endif
/* exit() won't be called but use it because it is marked with noreturn */
#define DIE( reason ) \
do { \
Com_Error(ERR_DROP, "vm_powerpc compiler error: " reason); \
exit(1); \
} while(0)
#define DIE( reason ) Com_Error( ERR_DROP, "vm_powerpc compiler error: " reason )
/*
* vm_powerpc uses large quantities of memory during compilation,
-1
View File
@@ -384,7 +384,6 @@ Error handler for jump/call to invalid instruction number
static void __attribute__((__noreturn__)) ErrJump(void)
{
Com_Error(ERR_DROP, "program tried to execute code outside VM");
exit(1);
}
/*