Make sure is_indirect local var is initialized; there

exists a code path where it could be used while uninitialized.
clang static analyzer fixit.

llvm-svn: 219769
This commit is contained in:
Jason Molenda 2014-10-15 03:05:38 +00:00
parent 68c8521e71
commit 9aae9fcbaf
1 changed files with 1 additions and 1 deletions

View File

@ -626,7 +626,7 @@ Symbol::ResolveCallableAddress(Target &target) const
Address func_so_addr;
bool is_indirect;
bool is_indirect = IsIndirect();
if (GetType() == eSymbolTypeReExported)
{
Symbol *reexported_symbol = ResolveReExportedSymbol(target);