Code cleanup - mainly dead store removal; NFC

scan-build found a few dead stores that can be easily cleaned-up
This commit is contained in:
Paulo Matos committed 2024-01-31 08:35:55 +00:00
1 parent 3db31a655c
commit e4560ed0c8
8 files changed
+11 -14

No files matched your search

@@ -284,7 +284,6 @@ void Decoder::DecodeModRM_64(X86Tables::DecodedOperand *Operand, X86Tables::ModR
if (DisplacementSize == 1) {
Literal = static_cast<int8_t>(Literal);
}
Displacement = DisplacementSize;
Operand->Type = DecodedOperand::OpType::GPRIndirect;
Operand->Data.GPRIndirect.GPR = MapModRMToReg(DecodeInst->Flags & DecodeFlags::FLAG_REX_XGPR_B ? 1 : 0, ModRM.rm, false, false, false, false);