Skip to content

Commit 078cb7a

Browse files
committed
[lldb][RISC-V] Remove unused variable
Added in a1ffabc.
1 parent 4469a1e commit 078cb7a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lldb/source/Plugins/Instruction/RISCV/EmulateInstructionRISCV.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -622,8 +622,6 @@ std::optional<DecodeResult> EmulateInstructionRISCV::Decode(uint32_t inst) {
622622
Log *log = GetLog(LLDBLog::Unwind);
623623

624624
uint16_t try_rvc = uint16_t(inst & 0x0000ffff);
625-
// check whether the compressed encode could be valid
626-
uint16_t mask = try_rvc & 0b11;
627625
uint8_t inst_type = RV64;
628626

629627
// Try to get size of RISCV instruction.

0 commit comments

Comments
 (0)