summaryrefslogtreecommitdiff
path: root/indra/llcommon/llerror.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llcommon/llerror.cpp')
-rwxr-xr-xindra/llcommon/llerror.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/indra/llcommon/llerror.cpp b/indra/llcommon/llerror.cpp
index 853f279c95..dd36eca8ba 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.