mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2025-01-31 11:20:32 +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
|
#endif
|
||||||
|
|
||||||
/* exit() won't be called but use it because it is marked with noreturn */
|
/* exit() won't be called but use it because it is marked with noreturn */
|
||||||
#define DIE( reason ) \
|
#define DIE( reason ) Com_Error( ERR_DROP, "vm_powerpc compiler error: " reason )
|
||||||
do { \
|
|
||||||
Com_Error(ERR_DROP, "vm_powerpc compiler error: " reason); \
|
|
||||||
exit(1); \
|
|
||||||
} while(0)
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* vm_powerpc uses large quantities of memory during compilation,
|
* 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)
|
static void __attribute__((__noreturn__)) ErrJump(void)
|
||||||
{
|
{
|
||||||
Com_Error(ERR_DROP, "program tried to execute code outside VM");
|
Com_Error(ERR_DROP, "program tried to execute code outside VM");
|
||||||
exit(1);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue