[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 06/11] hw/arm/allwinner: Clean up local variable shadowing
From: |
Peter Maydell |
Subject: |
Re: [PATCH 06/11] hw/arm/allwinner: Clean up local variable shadowing |
Date: |
Fri, 1 Sep 2023 12:29:58 +0100 |
On Thu, 31 Aug 2023 at 23:56, Philippe Mathieu-Daudé <philmd@linaro.org> wrote:
>
> Fix:
>
> hw/arm/allwinner-r40.c:412:14: error: declaration shadows a local variable
> [-Werror,-Wshadow]
> for (int i = 0; i < AW_R40_NUM_MMCS; i++) {
> ^
> hw/arm/allwinner-r40.c:299:14: note: previous declaration is here
> unsigned i;
> ^
>
> 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 06/11] hw/arm/allwinner: Clean up local variable shadowing,
Peter Maydell <=