diff options
Diffstat (limited to 'arch/powerpc/disassembler.cpp')
| -rw-r--r-- | arch/powerpc/disassembler.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/powerpc/disassembler.cpp b/arch/powerpc/disassembler.cpp index 0b513d70..54e3c87c 100644 --- a/arch/powerpc/disassembler.cpp +++ b/arch/powerpc/disassembler.cpp @@ -43,7 +43,7 @@ bool FillInstruction(Instruction* instruction, const uint8_t* data, size_t lengt default: MYLOG("FillInstruction: unrecognized length %d", length); - LogWarn("FillInstruction: unrecognized length %d", length); + LogWarn("FillInstruction: unrecognized length %zu", length); return false; } } @@ -141,10 +141,6 @@ bool PushOperandTokens(string& result, const Operand* op) int disassemble(uint8_t *data, uint32_t addr, string& result, uint32_t decodeFlags) { - int rc = -1; - - char buf[32]; - size_t strlenMnem; Instruction instruction; const char* mnemonic = NULL; size_t len = 4; |
