tcg-ia64: Fix warning in qemu_ld.
authorRichard Henderson <rth@twiddle.net>
Mon, 22 Nov 2010 22:57:58 +0000 (14:57 -0800)
committerEdgar E. Iglesias <edgar@axis.com>
Wed, 1 Dec 2010 18:48:31 +0000 (19:48 +0100)
The usermode version of qemu_ld doesn't used mem_index,
leading to set-but-not-used warnings.

Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Edgar E. Iglesias <edgar@axis.com>
tcg/ia64/tcg-target.c

index 57d0bcc608c1ba731b48660d647790378a3d947c..3ddf434571d05c89f7e60071d41c896ea8529520 100644 (file)
@@ -1658,11 +1658,10 @@ static inline void tcg_out_qemu_ld(TCGContext *s, const TCGArg *args, int opc)
     static uint64_t const opc_sxt_i29[4] = {
         OPC_SXT1_I29, OPC_SXT2_I29, OPC_SXT4_I29, 0
     };
-    int addr_reg, data_reg, mem_index, s_bits, bswap;
+    int addr_reg, data_reg, s_bits, bswap;
 
     data_reg = *args++;
     addr_reg = *args++;
-    mem_index = *args;
     s_bits = opc & 3;
 
 #ifdef TARGET_WORDS_BIGENDIAN