summary refs log tree commit diff stats
path: root/hw/misc/arm_sysctl.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2023-09-22 16:29:41 +0100
committerMarkus Armbruster <armbru@redhat.com>2023-09-29 10:07:18 +0200
commit33b3b4aded2eb56d505d563e4788e0654a7e9f2b (patch)
treef2b9378b7b9540720e06218229fc5dd2599f7798 /hw/misc/arm_sysctl.c
parent7b393b71424ba105f2b1c5f2c49f8d8710ad00eb (diff)
downloadfocaccia-qemu-33b3b4aded2eb56d505d563e4788e0654a7e9f2b.tar.gz
focaccia-qemu-33b3b4aded2eb56d505d563e4788e0654a7e9f2b.zip
hw/intc/arm_gicv3_its: Avoid shadowing variable in do_process_its_cmd()
Avoid shadowing a local variable in do_process_its_cmd():

../../hw/intc/arm_gicv3_its.c:548:17: warning: declaration of ‘ite’ shadows a previous local [-Wshadow=compatible-local]
  548 |         ITEntry ite = {};
      |                 ^~~
../../hw/intc/arm_gicv3_its.c:518:13: note: shadowed declaration is here
  518 |     ITEntry ite;
      |             ^~~

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-ID: <20230922152944.3583438-2-peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'hw/misc/arm_sysctl.c')
0 files changed, 0 insertions, 0 deletions