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

View File

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