summary refs log tree commit diff stats
path: root/hw/timer/imx_gpt.c
diff options
context:
space:
mode:
authorCédric Le Goater <clg@kaod.org>2023-09-18 16:58:46 +0200
committerMarkus Armbruster <armbru@redhat.com>2023-09-29 10:07:17 +0200
commitc0b648d9e9747f44fc3c4503b3a06741b0d6e4a8 (patch)
tree7f3616b7ec8b2a639b62e2a1eeacdc9543daf5be /hw/timer/imx_gpt.c
parentbd87a59f52c85e504323c3dbdacc84e2cefce8d1 (diff)
downloadfocaccia-qemu-c0b648d9e9747f44fc3c4503b3a06741b0d6e4a8.tar.gz
focaccia-qemu-c0b648d9e9747f44fc3c4503b3a06741b0d6e4a8.zip
spapr: Clean up local variable shadowing in spapr_init_cpus()
Remove extra 'i' variable to fix this warning :

  ../hw/ppc/spapr.c: In function ‘spapr_init_cpus’:
  ../hw/ppc/spapr.c:2668:13: warning: declaration of ‘i’ shadows a previous local [-Wshadow=compatible-local]
   2668 |         int i;
        |             ^
  ../hw/ppc/spapr.c:2645:9: note: shadowed declaration is here
   2645 |     int i;
        |         ^

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-ID: <20230918145850.241074-5-clg@kaod.org>
Reviewed-by: Harsh Prateek Bora <harshpb@linux.ibm.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'hw/timer/imx_gpt.c')
0 files changed, 0 insertions, 0 deletions