[analyzer] Remove redundant if statement (pointed out by Ted).
llvm-svn: 154075
This commit is contained in:
parent
a03156fc66
commit
e70eea0234
|
@ -103,10 +103,6 @@ SymbolRef SVal::getAsSymbol() const {
|
|||
if (const nonloc::SymbolVal *X = dyn_cast<nonloc::SymbolVal>(this))
|
||||
return X->getSymbol();
|
||||
|
||||
if (const nonloc::SymbolVal *X = dyn_cast<nonloc::SymbolVal>(this))
|
||||
if (SymbolRef Y = X->getSymbol())
|
||||
return Y;
|
||||
|
||||
return getAsLocSymbol();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue