[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 05/11] hw/arm/virt: Clean up local variable shadowing
From: |
Peter Maydell |
Subject: |
Re: [PATCH 05/11] hw/arm/virt: Clean up local variable shadowing |
Date: |
Fri, 1 Sep 2023 12:28:23 +0100 |
On Thu, 31 Aug 2023 at 23:56, Philippe Mathieu-Daudé <philmd@linaro.org> wrote:
>
> 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>
thanks
-- PMM
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [PATCH 05/11] hw/arm/virt: Clean up local variable shadowing,
Peter Maydell <=