[analyzer] Remove redundant if statement (pointed out by Ted).

llvm-svn: 154075
This commit is contained in:
Anna Zaks 2012-04-05 02:10:14 +00:00
parent a03156fc66
commit e70eea0234
1 changed files with 0 additions and 4 deletions

View File

@ -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();
}