qemu-e2k/softmmu
Alistair Francis 5567fa825a softmmu/device_tree: Fixup local variables shadowing
Local variables shadowing other local variables or parameters make the
code needlessly hard to understand.  Bugs love to hide in such code.
Evidence: "[PATCH v3 1/7] migration/rdma: Fix save_page method to fail
on polling error".

This patch removes the local variable shadowing. Tested by adding:

    --extra-cflags='-Wshadow=local -Wno-error=shadow=local -Wno-error=shadow=compatible-local'

To configure

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Message-ID: <20230925043023.71448-5-alistair.francis@wdc.com>
Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2023-09-29 10:07:20 +02:00
..
arch_init.c
async-teardown.c softmmu: Delete checks for old host definitions 2023-09-15 05:26:50 -07:00
balloon.c
bootdevice.c
cpu-throttle.c
cpu-timers.c
cpus.c accel: Remove HAX accelerator 2023-08-31 19:46:43 +02:00
datadir.c
device_tree.c softmmu/device_tree: Fixup local variables shadowing 2023-09-29 10:07:20 +02:00
dirtylimit.c softmmu/dirtylimit: Convert free to g_free 2023-08-29 10:19:03 +08:00
dma-helpers.c block: remove AIOCBInfo->get_aio_context() 2023-09-20 17:46:01 +02:00
globals.c
icount.c accel/tcg: spelling fixes 2023-08-31 19:47:43 +02:00
ioport.c accel/tcg: spelling fixes 2023-08-31 19:47:43 +02:00
main.c
memory_mapping.c
memory.c softmmu/memory: Clean up local variable shadowing 2023-09-29 10:07:16 +02:00
meson.build util/async-teardown.c: move to softmmu/, only build it when system build is requested 2023-09-01 23:46:20 +02:00
physmem.c softmmu/physmem: Clean up local variable shadowing 2023-09-29 10:07:17 +02:00
qdev-monitor.c
qemu-seccomp.c seccomp: avoid shadowing of 'action' variable 2023-09-29 10:07:20 +02:00
qtest.c qtest: irq_intercept_[out/in]: return FAIL if no intercepts are installed 2023-08-22 17:31:01 +01:00
rtc.c rtc: Use time_t for passing and returning time offsets 2023-08-31 09:45:18 +01:00
runstate-action.c
runstate-hmp-cmds.c
runstate.c sysemu: Add prepare callback to struct VMChangeStateEntry 2023-09-11 08:34:05 +02:00
timers-state.h
tpm-hmp-cmds.c
tpm.c
trace-events
trace.h
vl.c vl: remove shadowed local variables 2023-09-25 18:25:03 +02:00
watchpoint.c