Silence a compiler warning about "bAsyncMode" possibly being used uninitialized.
authorGreg Clayton <gclayton@apple.com>
Tue, 31 Mar 2015 20:55:50 +0000 (20:55 +0000)
committerGreg Clayton <gclayton@apple.com>
Tue, 31 Mar 2015 20:55:50 +0000 (20:55 +0000)
llvm-svn: 233754

lldb/tools/lldb-mi/MICmdCmdGdbSet.cpp

index 494dd06cec02da00dacb741575dba91e51f5e14e..82ced28a4de6926fde58a26f7a1973979802ca1a 100644 (file)
@@ -222,7 +222,7 @@ CMICmdCmdGdbSet::GetOptionFn(const CMIUtilString &vrPrintFnName, FnGdbOptionPtr
 bool
 CMICmdCmdGdbSet::OptionFnTargetAsync(const CMIUtilString::VecString_t &vrWords)
 {
-    bool bAsyncMode;
+    bool bAsyncMode = false;
     bool bOk = true;
 
     if (vrWords.size() > 1)