Heavy-handed attempt at fixing crashandloop hang.

meow-7.2.2
Aura Linden 2014-01-21 17:59:39 -08:00
parent 00f12a2f12
commit ace79d9719
1 changed files with 6 additions and 5 deletions

View File

@ -1197,14 +1197,15 @@ namespace LLError
#endif
void crashAndLoop(const std::string& message)
{
// Now, we go kaboom!
int* make_me_crash = NULL;
*make_me_crash = 0;
while(true)
{
// Loop forever, in case the crash didn't work?
// Now, we go kaboom!
int* make_me_crash = NULL;
*make_me_crash = 0;
}
// this is an attempt to let Coverity and other semantic scanners know that this function won't be returning ever.