summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lldb/tools/driver/Driver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/tools/driver/Driver.cpp b/lldb/tools/driver/Driver.cpp
index 34711d52aa2..53fa1b2e89a 100644
--- a/lldb/tools/driver/Driver.cpp
+++ b/lldb/tools/driver/Driver.cpp
@@ -610,7 +610,7 @@ int Driver::MainLoop() {
// that run the target won't run in a sensible way.
bool old_async = m_debugger.GetAsync();
m_debugger.SetAsync(false);
- int num_errors;
+ int num_errors = 0;
SBCommandInterpreterRunOptions options;
options.SetStopOnError(true);
OpenPOWER on IntegriCloud