aboutsummaryrefslogtreecommitdiff
path: root/rust/hw
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2024-11-15 16:18:13 +0400
committerMarc-André Lureau <marcandre.lureau@redhat.com>2025-02-03 21:16:07 +0400
commitc0fb8e88cbbfc140800e614586b446193a3fd93a (patch)
tree8e947f6e5b4449cfb79f10fab584e94286ae84de /rust/hw
parent5b4109232e5c6db61fb02aa86b30170d93234acb (diff)
downloadqemu-c0fb8e88cbbfc140800e614586b446193a3fd93a.zip
qemu-c0fb8e88cbbfc140800e614586b446193a3fd93a.tar.gz
qemu-c0fb8e88cbbfc140800e614586b446193a3fd93a.tar.bz2
plugins: fix -Werror=maybe-uninitialized false-positive
../contrib/plugins/cache.c:638:9: error: ‘l2_cache’ may be used uninitialized [-Werror=maybe-uninitialized] 638 | append_stats_line(rep, l1_dmem_accesses, l1_dmisses, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Is a false-positive, since cores > 1, so the variable is set in the above loop. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Diffstat (limited to 'rust/hw')
0 files changed, 0 insertions, 0 deletions