From: Blue Swirl Date: Sun, 7 Mar 2010 13:56:27 +0000 (+0000) Subject: i386-dis: remove dead assignments, spotted by clang X-Git-Tag: TizenStudio_2.0_p2.3.2~208^2~8528 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bef75aa5342f0b0ecc1c4e444d1ff9f955f41b63;p=sdk%2Femulator%2Fqemu.git i386-dis: remove dead assignments, spotted by clang Value stored to 'mask' is never read. Signed-off-by: Blue Swirl --- diff --git a/i386-dis.c b/i386-dis.c index b2af033..ec079a9 100644 --- a/i386-dis.c +++ b/i386-dis.c @@ -5520,7 +5520,6 @@ static void OP_sI (int bytemode, int sizeflag) { bfd_signed_vma op; - bfd_signed_vma mask = -1; switch (bytemode) { @@ -5529,7 +5528,6 @@ OP_sI (int bytemode, int sizeflag) op = *codep++; if ((op & 0x80) != 0) op -= 0x100; - mask = 0xffffffff; break; case v_mode: USED_REX (REX_W); @@ -5538,11 +5536,9 @@ OP_sI (int bytemode, int sizeflag) else if (sizeflag & DFLAG) { op = get32s (); - mask = 0xffffffff; } else { - mask = 0xffffffff; op = get16 (); if ((op & 0x8000) != 0) op -= 0x10000; @@ -5551,7 +5547,6 @@ OP_sI (int bytemode, int sizeflag) break; case w_mode: op = get16 (); - mask = 0xffffffff; if ((op & 0x8000) != 0) op -= 0x10000; break;