summary refs log tree commit diff stats
path: root/hw/timer/imx_gpt.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2023-09-04 18:28:23 +0200
committerMarkus Armbruster <armbru@redhat.com>2023-09-29 10:07:17 +0200
commit1cc0c5dd38884a7c54bc806bb0ae182db275faf0 (patch)
tree060b9a3b855fa345c9a00786caaf5ea18df48837 /hw/timer/imx_gpt.c
parent5e0528a72570e95945eac841b0871f0cbba777b8 (diff)
downloadfocaccia-qemu-1cc0c5dd38884a7c54bc806bb0ae182db275faf0.tar.gz
focaccia-qemu-1cc0c5dd38884a7c54bc806bb0ae182db275faf0.zip
hw/intc/openpic: Clean up local variable shadowing
Fix:

  hw/intc/openpic.c: In function ‘openpic_gbl_write’:
  hw/intc/openpic.c:614:17: warning: declaration of ‘idx’ shadows a previous local [-Wshadow=compatible-local]
    614 |             int idx;
        |                 ^~~
  hw/intc/openpic.c:568:9: note: shadowed declaration is here
    568 |     int idx;
        |         ^~~

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20230904162824.85385-3-philmd@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'hw/timer/imx_gpt.c')
0 files changed, 0 insertions, 0 deletions