summaryrefslogtreecommitdiff
path: root/indra/llcommon/StackWalker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llcommon/StackWalker.cpp')
-rw-r--r--indra/llcommon/StackWalker.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/llcommon/StackWalker.cpp b/indra/llcommon/StackWalker.cpp
index e9ae1723fb..a281fe83f6 100644
--- a/indra/llcommon/StackWalker.cpp
+++ b/indra/llcommon/StackWalker.cpp
@@ -785,6 +785,8 @@ private:
case 8: //SymVirtual:
szSymType = "Virtual";
break;
+ case NumSymTypes:
+ break;
}
}
LPCSTR pdbName = Module.LoadedImageName;
@@ -902,7 +904,7 @@ bool StackWalker::LoadModules()
SetLastError(ERROR_DLL_INIT_FAILED);
return false;
}
- if (m_modulesLoaded != FALSE)
+ if (m_modulesLoaded)
return true;
// Build the sym-path: