diff options
author | Alistair Francis <alistair23@gmail.com> | 2023-09-25 14:30:23 +1000 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2023-09-29 10:07:20 +0200 |
commit | 5567fa825ab9bdc4688308bea7816e2f969b65c3 (patch) | |
tree | 5f241da0156e2d788c8cc6f5d105bda7f92e1eee /backends/cryptodev-builtin.c | |
parent | f3f65c4022c4af793eecf8be9872510f83f98740 (diff) | |
download | qemu-5567fa825ab9bdc4688308bea7816e2f969b65c3.zip qemu-5567fa825ab9bdc4688308bea7816e2f969b65c3.tar.gz qemu-5567fa825ab9bdc4688308bea7816e2f969b65c3.tar.bz2 |
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>
Diffstat (limited to 'backends/cryptodev-builtin.c')
0 files changed, 0 insertions, 0 deletions