[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 7/7] tcg-ia64: Fix warning in qemu_ld.
From: |
Richard Henderson |
Subject: |
[Qemu-devel] [PATCH 7/7] tcg-ia64: Fix warning in qemu_ld. |
Date: |
Mon, 22 Nov 2010 14:57:58 -0800 |
The usermode version of qemu_ld doesn't used mem_index,
leading to set-but-not-used warnings.
Signed-off-by: Richard Henderson <address@hidden>
---
tcg/ia64/tcg-target.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/tcg/ia64/tcg-target.c b/tcg/ia64/tcg-target.c
index 57d0bcc..3ddf434 100644
--- a/tcg/ia64/tcg-target.c
+++ b/tcg/ia64/tcg-target.c
@@ -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
--
1.7.2.3
- [Qemu-devel] [PATCH 0/7] Fixes for ia64-linux host, Richard Henderson, 2010/11/22
- [Qemu-devel] [PATCH 7/7] tcg-ia64: Fix warning in qemu_ld.,
Richard Henderson <=
- [Qemu-devel] [PATCH 5/7] tcg-ia64: Fix tlb read error for 32-bit targets., Richard Henderson, 2010/11/22
- [Qemu-devel] [PATCH 3/7] tcg-ia64: Provide default GUEST_BASE., Richard Henderson, 2010/11/22
- [Qemu-devel] [PATCH 1/7] microblaze: target-ify target_ucontext, Richard Henderson, 2010/11/22
- [Qemu-devel] [PATCH 6/7] tcg-ia64: Fix address compilation in qemu_st., Richard Henderson, 2010/11/22
- [Qemu-devel] [PATCH 4/7] tcg-ia64: Implement qemu_ld32., Richard Henderson, 2010/11/22
- [Qemu-devel] [PATCH 2/7] tcg: Fix default definition of divu_i32 and remu_i32., Richard Henderson, 2010/11/22