diff options
author | Aura Linden <aura@lindenlab.com> | 2014-01-21 17:59:39 -0800 |
---|---|---|
committer | Aura Linden <aura@lindenlab.com> | 2014-01-21 17:59:39 -0800 |
commit | ace79d97198aeaf8fae0b65fdfa9613b2b3627a6 (patch) | |
tree | 1177f6354bdde19f5d58fe4c4e7d047dcb190bf3 /indra | |
parent | 00f12a2f12c3c8faf82ba406660d447b3cf5aac2 (diff) |
Heavy-handed attempt at fixing crashandloop hang.
Diffstat (limited to 'indra')
-rwxr-xr-x | indra/llcommon/llerror.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/indra/llcommon/llerror.cpp b/indra/llcommon/llerror.cpp index d2af004cde..cc42bef0c9 100755 --- a/indra/llcommon/llerror.cpp +++ b/indra/llcommon/llerror.cpp @@ -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. |