From patchwork Sun Jan 27 13:32:01 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [for-1.4, 03/19] target-ppc: Fix unused variable warning for FLUSH_ALL_TLBS Date: Sun, 27 Jan 2013 03:32:01 -0000 From: =?utf-8?q?Andreas_F=C3=A4rber?= X-Patchwork-Id: 215989 Message-Id: <1359293537-8251-4-git-send-email-afaerber@suse.de> To: qemu-devel@nongnu.org Cc: "open list:PowerPC" , =?UTF-8?q?Andreas=20F=C3=A4rber?= , Alexander Graf Signed-off-by: Andreas Färber --- target-ppc/mmu_helper.c | 3 ++- 1 Datei geändert, 2 Zeilen hinzugefügt(+), 1 Zeile entfernt(-) diff --git a/target-ppc/mmu_helper.c b/target-ppc/mmu_helper.c index 14fa25a..ee168f1 100644 --- a/target-ppc/mmu_helper.c +++ b/target-ppc/mmu_helper.c @@ -2262,8 +2262,9 @@ void helper_store_601_batu(CPUPPCState *env, uint32_t nr, target_ulong value) void helper_store_601_batl(CPUPPCState *env, uint32_t nr, target_ulong value) { +#if !defined(FLUSH_ALL_TLBS) target_ulong mask; -#if defined(FLUSH_ALL_TLBS) +#else int do_inval; #endif