forked from OSchip/llvm-project
[Hexagon] Remove redundant local variable.
Identified by the Clang static analyzer. llvm-svn: 253660
This commit is contained in:
parent
1a26ff7d17
commit
bfd7ce01ea
|
@ -405,10 +405,8 @@ unsigned HexagonMCCodeEmitter::getExprOpValue(const MCInst &MI,
|
|||
return cast<MCConstantExpr>(ME)->getValue();
|
||||
}
|
||||
if (MK == MCExpr::Binary) {
|
||||
unsigned Res;
|
||||
Res = getExprOpValue(MI, MO, cast<MCBinaryExpr>(ME)->getLHS(), Fixups, STI);
|
||||
Res +=
|
||||
getExprOpValue(MI, MO, cast<MCBinaryExpr>(ME)->getRHS(), Fixups, STI);
|
||||
getExprOpValue(MI, MO, cast<MCBinaryExpr>(ME)->getLHS(), Fixups, STI);
|
||||
getExprOpValue(MI, MO, cast<MCBinaryExpr>(ME)->getRHS(), Fixups, STI);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue