[lldb] Fix uninitialized variable in EvaluateExpressionOptions
authorJonas Devlieghere <jonas@devlieghere.com>
Tue, 15 Feb 2022 17:39:33 +0000 (09:39 -0800)
committerJonas Devlieghere <jonas@devlieghere.com>
Tue, 15 Feb 2022 17:40:09 +0000 (09:40 -0800)
Initialize m_pound_line_line to 0.

lldb/include/lldb/Target/Target.h

index 42a641f..54c1fb5 100644 (file)
@@ -445,7 +445,7 @@ private:
   // #line %u "%s" before the expression content to remap where the source
   // originates
   mutable std::string m_pound_line_file;
-  mutable uint32_t m_pound_line_line;
+  mutable uint32_t m_pound_line_line = 0;
 };
 
 // Target