hw/arm/virt: Clean up local variable shadowing
commitc7f14e4898bb4fcaa1420434bf4331e2843946fd
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 4 Sep 2023 16:12:20 +0000 (4 18:12 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Fri, 29 Sep 2023 08:07:15 +0000 (29 10:07 +0200)
treed9bc3dc0ab36d213c0b6215d81a1606e4cb26fd1
parent807e4d1d2155b7cf4d18bf4e0a73c4e7023f0d57
hw/arm/virt: Clean up local variable shadowing

Fix:

  hw/arm/virt.c:821:22: error: declaration shadows a local variable [-Werror,-Wshadow]
            qemu_irq irq = qdev_get_gpio_in(vms->gic,
                     ^
  hw/arm/virt.c:803:13: note: previous declaration is here
        int irq;
            ^

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-ID: <20230904161235.84651-9-philmd@linaro.org>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
hw/arm/virt.c