diff --git a/qemu/tcg/tcg.c b/qemu/tcg/tcg.c index bb894947..0942b049 100644 --- a/qemu/tcg/tcg.c +++ b/qemu/tcg/tcg.c @@ -2890,7 +2890,7 @@ int tcg_gen_code(TCGContext *s, TranslationBlock *tb) #ifdef CONFIG_PROFILER { - int n; + int n = 0; QTAILQ_FOREACH(op, &s->ops, link) { n++;