From ec72e276c5e1805206bef3ba06e13da3d9eb87bf Mon Sep 17 00:00:00 2001 From: aurel32 Date: Sun, 7 Dec 2008 15:45:15 +0000 Subject: [PATCH] target-ppc: Fix use of uninitialized TCG variable in tlbiva Silences a warning about possible unitialized use of t0. Signed-off-by: Andreas Faerber Signed-off-by: Aurelien Jarno git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5915 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-ppc/translate.c | 1 + 1 file changed, 1 insertion(+) diff --git a/target-ppc/translate.c b/target-ppc/translate.c index 31d7387204..2f1b5ff4f2 100644 --- a/target-ppc/translate.c +++ b/target-ppc/translate.c @@ -5386,6 +5386,7 @@ GEN_HANDLER(tlbiva, 0x1F, 0x12, 0x18, 0x03FFF801, PPC_TLBIVA) GEN_EXCP_PRIVOPC(ctx); return; } + t0 = tcg_temp_new(); gen_addr_reg_index(t0, ctx); #if defined(TARGET_PPC64) if (!ctx->sf_mode)