diff options
-rw-r--r-- | src/qcommon/vm_powerpc.c | 6 | ||||
-rw-r--r-- | src/qcommon/vm_x86.c | 1 |
2 files changed, 1 insertions, 6 deletions
diff --git a/src/qcommon/vm_powerpc.c b/src/qcommon/vm_powerpc.c index 2fde4310..cf7de30f 100644 --- a/src/qcommon/vm_powerpc.c +++ b/src/qcommon/vm_powerpc.c @@ -46,11 +46,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, diff --git a/src/qcommon/vm_x86.c b/src/qcommon/vm_x86.c index 9661d8d3..3650cc8c 100644 --- a/src/qcommon/vm_x86.c +++ b/src/qcommon/vm_x86.c @@ -385,7 +385,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); } /* |