diff options
Diffstat (limited to 'indra/llcommon')
-rwxr-xr-x | indra/llcommon/llerror.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/indra/llcommon/llerror.cpp b/indra/llcommon/llerror.cpp index dd36eca8ba..853f279c95 100755 --- a/indra/llcommon/llerror.cpp +++ b/indra/llcommon/llerror.cpp @@ -1197,15 +1197,14 @@ 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. |