diff options
author | Forkk <forkk@forkk.net> | 2014-05-09 17:36:53 -0500 |
---|---|---|
committer | Forkk <forkk@forkk.net> | 2014-05-09 17:36:53 -0500 |
commit | e3b9b3030240b0cf1454fdf1dea1705ae7e3865b (patch) | |
tree | 0c9e951b157efc8d5ccf5b15e8b7125474126c6d | |
parent | 93ae21abfcce1c6b36e5cd68d23045f2b9ac438d (diff) | |
download | PrismLauncher-e3b9b3030240b0cf1454fdf1dea1705ae7e3865b.tar.gz PrismLauncher-e3b9b3030240b0cf1454fdf1dea1705ae7e3865b.tar.bz2 PrismLauncher-e3b9b3030240b0cf1454fdf1dea1705ae7e3865b.zip |
Remove some unnecessary dummy functions.
-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 } |