tcg: fix use of uninitialized variable under CONFIG_PROFILER
authorEmilio G. Cota <cota@braap.org>
Wed, 10 Oct 2018 14:48:51 +0000 (10:48 -0400)
committerRichard Henderson <richard.henderson@linaro.org>
Fri, 19 Oct 2018 01:58:10 +0000 (18:58 -0700)
commitc1f543b739086733024e31d74a52d9e41553f316
treeccdfa8d2d2ecafbe418fb8674a888a2bb843f043
parentfff42f183ea4c3967405d4c1dce6d97dae4d64c8
tcg: fix use of uninitialized variable under CONFIG_PROFILER

We forgot to initialize n in commit 15fa08f845 ("tcg: Dynamically
allocate TCGOps", 2017-12-29).

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Emilio G. Cota <cota@braap.org>
Message-Id: <20181010144853.13005-3-cota@braap.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/tcg.c