Fix some warnings (#2399)

This commit is contained in:
Jonathan Hao 2017-01-05 00:48:29 +08:00 committed by Yuri Kunde Schlesner
parent 159bcbfdbc
commit c18cb1b192
13 changed files with 9 additions and 35 deletions

View file

@ -45,7 +45,6 @@ void CallstackWidget::OnDebugModeEntered() {
if (ARM_Disasm::Decode(insn) == OP_BL) {
std::string name;
// ripped from disasm
u8 cond = (insn >> 28) & 0xf;
u32 i_offset = insn & 0xffffff;
// Sign-extend the 24-bit offset
if ((i_offset >> 23) & 1)