mirror of
https://github.com/Lime3DS/Lime3DS
synced 2024-12-27 17:42:40 -06: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"
|
"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 a new issue