diff options
Diffstat (limited to 'UnixCrash.cpp')
-rw-r--r-- | UnixCrash.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/UnixCrash.cpp b/UnixCrash.cpp index a28e4b09..8b5a9868 100644 --- a/UnixCrash.cpp +++ b/UnixCrash.cpp @@ -185,13 +185,7 @@ void testCrash() // Throw shit at the fan. for (int i = 0; i < 8; i++) lol[i] = 'f'; - - //delete lol; } - -// Some dummy functions to make the crash more interesting. -void foo() { testCrash(); } -void bar() { foo(); } #endif // Initializes the Unix crash handler. @@ -202,7 +196,7 @@ void initBlackMagic() signal(SIGABRT, handler); #ifdef TEST_SEGV - bar(); + testCrash(); #endif } |