mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-27 01:02:48 +01:00
arm_disasm: Remove unused variable
Also declared an array as static, as it's only used in this translation unit.
This commit is contained in:
parent
c9ef377afa
commit
1a70782cda
1 changed files with 1 additions and 2 deletions
|
@ -24,7 +24,7 @@ static const char *cond_names[] = {
|
|||
"RESERVED"
|
||||
};
|
||||
|
||||
const char *opcode_names[] = {
|
||||
static const char *opcode_names[] = {
|
||||
"invalid",
|
||||
"undefined",
|
||||
"adc",
|
||||
|
@ -351,7 +351,6 @@ std::string ARM_Disasm::DisassembleCLZ(uint32_t insn)
|
|||
|
||||
std::string ARM_Disasm::DisassembleMemblock(Opcode opcode, uint32_t insn)
|
||||
{
|
||||
std::string tmp_reg;
|
||||
std::string tmp_list;
|
||||
|
||||
uint8_t cond = (insn >> 28) & 0xf;
|
||||
|
|
Loading…
Reference in a new issue