From e3b9b3030240b0cf1454fdf1dea1705ae7e3865b Mon Sep 17 00:00:00 2001 From: Forkk Date: Fri, 9 May 2014 17:36:53 -0500 Subject: Remove some unnecessary dummy functions. --- UnixCrash.cpp | 8 +------- 1 file changed, 1 insertion(+), 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 } -- cgit v1.2.3