forked from OSchip/llvm-project
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:
parent
68c8521e71
commit
9aae9fcbaf
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue