Fix 'Undefined or garbage value returned to caller' (static analyzer).

llvm-svn: 137374
This commit is contained in:
Johnny Chen 2011-08-11 22:23:44 +00:00
parent aa8a827f08
commit ec95565a9d
1 changed files with 1 additions and 1 deletions

View File

@ -210,7 +210,7 @@ ValueObjectRegisterSet::UpdateValue ()
ValueObject *
ValueObjectRegisterSet::CreateChildAtIndex (uint32_t idx, bool synthetic_array_member, int32_t synthetic_index)
{
ValueObject *valobj;
ValueObject *valobj = NULL;
if (m_reg_ctx_sp && m_reg_set)
{
const uint32_t num_children = GetNumChildren();