aboutsummaryrefslogtreecommitdiff
path: root/io/channel-buffer.c
diff options
context:
space:
mode:
authorAlistair Francis <alistair23@gmail.com>2023-09-25 14:30:22 +1000
committerMarkus Armbruster <armbru@redhat.com>2023-09-29 10:07:20 +0200
commitf3f65c4022c4af793eecf8be9872510f83f98740 (patch)
tree6e1280d9ce8f7fcf25487ef3ece8d343358482f7 /io/channel-buffer.c
parent29332994d8ebcbfad0748017c5151ed69e119212 (diff)
downloadqemu-f3f65c4022c4af793eecf8be9872510f83f98740.zip
qemu-f3f65c4022c4af793eecf8be9872510f83f98740.tar.gz
qemu-f3f65c4022c4af793eecf8be9872510f83f98740.tar.bz2
target/riscv: vector_helper: 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-4-alistair.francis@wdc.com> Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'io/channel-buffer.c')
0 files changed, 0 insertions, 0 deletions