Remove some unnecessary dummy functions.

This commit is contained in:
Forkk 2014-05-09 17:36:53 -05:00
parent 93ae21abfc
commit e3b9b30302

View File

@ -185,13 +185,7 @@ void testCrash()
// Throw shit at the fan. // Throw shit at the fan.
for (int i = 0; i < 8; i++) for (int i = 0; i < 8; i++)
lol[i] = 'f'; lol[i] = 'f';
//delete lol;
} }
// Some dummy functions to make the crash more interesting.
void foo() { testCrash(); }
void bar() { foo(); }
#endif #endif
// Initializes the Unix crash handler. // Initializes the Unix crash handler.
@ -202,7 +196,7 @@ void initBlackMagic()
signal(SIGABRT, handler); signal(SIGABRT, handler);
#ifdef TEST_SEGV #ifdef TEST_SEGV
bar(); testCrash();
#endif #endif
} }