mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-10 23:02:01 +00:00
remove some redundant exit() calls
This commit is contained in:
parent
830d93aa38
commit
8cc817b5a3
2 changed files with 1 additions and 6 deletions
|
@ -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,
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue