aboutsummaryrefslogtreecommitdiff
path: root/include/hw/intc
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2023-10-09 12:02:43 +0200
committerThomas Huth <thuth@redhat.com>2023-10-27 09:39:08 +0200
commite9894bc95afba5d5e8422b723fcf7d658cba1fea (patch)
tree4f962013d5b7f9ce11d200761e31698549f34b19 /include/hw/intc
parent63ba5e13b9943ea6ab228126ccf4ca3c97b7b66b (diff)
downloadqemu-e9894bc95afba5d5e8422b723fcf7d658cba1fea.zip
qemu-e9894bc95afba5d5e8422b723fcf7d658cba1fea.tar.gz
qemu-e9894bc95afba5d5e8422b723fcf7d658cba1fea.tar.bz2
tests/throttle: Clean up global variable shadowing
Follow all other tests pattern from this file, use the global 'cfg' variable to fix: tests/unit/test-throttle.c:621:20: error: declaration shadows a variable in the global scope [-Werror,-Wshadow] ThrottleConfig cfg; ^ tests/unit/test-throttle.c:28:23: note: previous declaration is here static ThrottleConfig cfg; ^ Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Acked-by: Alberto Garcia <berto@igalia.com> Message-ID: <20231009100251.56019-3-philmd@linaro.org> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'include/hw/intc')
0 files changed, 0 insertions, 0 deletions