mirror of
https://github.com/PabloMK7/citra.git
synced 2024-11-17 04:17:15 +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
@ -24,7 +24,7 @@ static const char *cond_names[] = {
|
|||||||
"RESERVED"
|
"RESERVED"
|
||||||
};
|
};
|
||||||
|
|
||||||
const char *opcode_names[] = {
|
static const char *opcode_names[] = {
|
||||||
"invalid",
|
"invalid",
|
||||||
"undefined",
|
"undefined",
|
||||||
"adc",
|
"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 ARM_Disasm::DisassembleMemblock(Opcode opcode, uint32_t insn)
|
||||||
{
|
{
|
||||||
std::string tmp_reg;
|
|
||||||
std::string tmp_list;
|
std::string tmp_list;
|
||||||
|
|
||||||
uint8_t cond = (insn >> 28) & 0xf;
|
uint8_t cond = (insn >> 28) & 0xf;
|
||||||
|
Loading…
Reference in New Issue
Block a user