Andrew Morrow: The variable 't1' on line 10188 of cxa_demangle.cpp is uninitialized

which generates -Wsometimes-uninitialized.  Howard:  The only thing this patch is missing is an update to CREDITS.TXT.

llvm-svn: 160932
This commit is contained in:
Howard Hinnant 2012-07-29 16:14:52 +00:00
parent 5f99f48bcd
commit 95d917f8ee

View File

@ -10185,7 +10185,7 @@ __demangle_tree::__parse_nested_name(const char* first, const char* last)
{
bool can_sub = true;
bool make_nested = true;
const char* t1;
const char* t1 = NULL;
switch (*t0)
{
case '1':