summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lldb/source/Core/ValueObject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Core/ValueObject.cpp b/lldb/source/Core/ValueObject.cpp
index fd4f428ff2c..10247db11e2 100644
--- a/lldb/source/Core/ValueObject.cpp
+++ b/lldb/source/Core/ValueObject.cpp
@@ -389,7 +389,7 @@ ValueObject::SetName (const ConstString &name)
ValueObject *
ValueObject::CreateChildAtIndex (uint32_t idx, bool synthetic_array_member, int32_t synthetic_index)
{
- ValueObject *valobj;
+ ValueObject *valobj = NULL;
if (UpdateValueIfNeeded())
{
OpenPOWER on IntegriCloud