diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2010-03-07 13:56:27 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-03-07 13:56:27 +0000 |
commit | bef75aa5342f0b0ecc1c4e444d1ff9f955f41b63 (patch) | |
tree | 601eefb7a8f8f24058a0181b574946daec2b880c /i386-dis.c | |
parent | ed086f3ddeacd95c6aeb672a2b733aea96ab2309 (diff) |
i386-dis: remove dead assignments, spotted by clang
Value stored to 'mask' is never read.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'i386-dis.c')
-rw-r--r-- | i386-dis.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/i386-dis.c b/i386-dis.c index b2af03371b..ec079a9084 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; |