From db8142b8e82beb54ddfe3de8450605326c88948b Mon Sep 17 00:00:00 2001 From: Enrico Granata Date: Tue, 23 Oct 2012 02:07:54 +0000 Subject: [PATCH] Fixing a compiler warning about has_children being used before being initialized llvm-svn: 166462 --- lldb/source/Core/ValueObject.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/source/Core/ValueObject.cpp b/lldb/source/Core/ValueObject.cpp index 41c7dbe..86b7e89 100644 --- a/lldb/source/Core/ValueObject.cpp +++ b/lldb/source/Core/ValueObject.cpp @@ -601,7 +601,7 @@ ValueObject::GetNumChildren () bool ValueObject::MightHaveChildren() { - bool has_children; + bool has_children = false; clang_type_t clang_type = GetClangType(); if (clang_type) { -- 2.7.4