Skip to content
Snippets Groups Projects
Commit 1a70782c authored by Lioncash's avatar Lioncash
Browse files

arm_disasm: Remove unused variable

Also declared an array as static, as it's only used in this translation unit.
parent c9ef377a
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment