mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-02 19:36:57 +03:00
Remove some unnecessary dummy functions.
This commit is contained in:
parent
93ae21abfc
commit
e3b9b30302
1 changed files with 1 additions and 7 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue