From cc5d28e112e011bd905205ee73ec3a6ecfff7f1e Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh Date: Wed, 26 Aug 2015 09:39:09 +0800 Subject: [PATCH] mips: fix issue #39 --- qemu/target-mips/translate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qemu/target-mips/translate.c b/qemu/target-mips/translate.c index bc517d3e..4dbad582 100644 --- a/qemu/target-mips/translate.c +++ b/qemu/target-mips/translate.c @@ -19169,9 +19169,9 @@ gen_intermediate_code_internal(MIPSCPU *cpu, TranslationBlock *tb, int num_insns; int max_insns; int insn_bytes; - int is_slot; + int is_slot = 0; TCGContext *tcg_ctx = env->uc->tcg_ctx; - TCGArg *save_opparam_ptr; + TCGArg *save_opparam_ptr = NULL; if (search_pc) qemu_log("search pc %d\n", search_pc);