yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0

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:
Lioncash 2015-02-27 21:31:34 -05:00
parent c9ef377afa
commit 1a70782cda
1 changed files with 1 additions and 2 deletions

View File

@ -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;