diff options
| author | Jim Ingham <jingham@apple.com> | 2011-05-07 00:10:58 +0000 |
|---|---|---|
| committer | Jim Ingham <jingham@apple.com> | 2011-05-07 00:10:58 +0000 |
| commit | 2eec4876a200f5e61c0b1a9e1410dfeb2acbcaf2 (patch) | |
| tree | a7893a48433761fb1800e1bc8c3b6ed3dff257f9 /lldb/source/Core/ValueObject.cpp | |
| parent | 32103ac2a97c85b0c6c3d4388c9fd25eced831b4 (diff) | |
| download | bcm5719-llvm-2eec4876a200f5e61c0b1a9e1410dfeb2acbcaf2.tar.gz bcm5719-llvm-2eec4876a200f5e61c0b1a9e1410dfeb2acbcaf2.zip | |
Fix an unitialized pointer in ValueObject::CreateChildAtIndex.
llvm-svn: 131039
Diffstat (limited to 'lldb/source/Core/ValueObject.cpp')
| -rw-r--r-- | lldb/source/Core/ValueObject.cpp | 2 |
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()) { |

