summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorForkk <forkk@forkk.net>2014-05-09 17:36:53 -0500
committerForkk <forkk@forkk.net>2014-05-09 17:36:53 -0500
commite3b9b3030240b0cf1454fdf1dea1705ae7e3865b (patch)
tree0c9e951b157efc8d5ccf5b15e8b7125474126c6d
parent93ae21abfcce1c6b36e5cd68d23045f2b9ac438d (diff)
downloadMultiMC-e3b9b3030240b0cf1454fdf1dea1705ae7e3865b.tar
MultiMC-e3b9b3030240b0cf1454fdf1dea1705ae7e3865b.tar.gz
MultiMC-e3b9b3030240b0cf1454fdf1dea1705ae7e3865b.tar.lz
MultiMC-e3b9b3030240b0cf1454fdf1dea1705ae7e3865b.tar.xz
MultiMC-e3b9b3030240b0cf1454fdf1dea1705ae7e3865b.zip
Remove some unnecessary dummy functions.
-rw-r--r--UnixCrash.cpp8
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
}