qemu/hw/loongarch
Song Gao 78bcc3cc7b target/loongarch: Clean up local variable shadowing
Fix:

  [1839/2601] Compiling C object libqemu-loongarch64-softmmu.fa.p/hw_loongarch_virt.c.o
  ../hw/loongarch/virt.c: In function 'loongarch_irq_init':
  ../hw/loongarch/virt.c:665:14: warning: declaration of 'i' shadows a previous local [-Wshadow=compatible-local]
       for (int i = 0; i < num; i++) {
                ^
  ../hw/loongarch/virt.c:582:19: note: shadowed declaration is here
       int cpu, pin, i, start, num;

Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-ID: <20230926071253.3601021-1-gaosong@loongson.cn>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2023-10-06 10:56:54 +02:00
..
acpi-build.c hw/loongarch: Fix ACPI processor id off-by-one error 2023-08-24 16:58:16 +08:00
fw_cfg.c hw/loongarch: Support fw_cfg dma function 2022-09-19 20:01:40 +08:00
fw_cfg.h hw/loongarch: Add fw_cfg table support 2022-07-19 22:55:10 +05:30
Kconfig hw/loongarch: Add numa support 2023-06-16 17:58:46 +08:00
meson.build hw/loongarch: Rename file 'loongson3.XXX' to 'virt.XXX' 2022-07-29 15:07:55 -07:00
virt.c target/loongarch: Clean up local variable shadowing 2023-10-06 10:56:54 +02:00