remove some redundant exit() calls

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

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,

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);
}
/*