summary refs log tree commit diff stats
path: root/include/qemu/compiler.h
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2023-09-21 14:13:09 +0200
committerMarkus Armbruster <armbru@redhat.com>2023-09-29 08:13:57 +0200
commit6a0f7ff7dd2034fb167557f0444e1f1851dbd654 (patch)
tree6866be6fb9d9642b403ce6dbd1fc490a6ee81150 /include/qemu/compiler.h
parente33e66b1b3655d98aadebf7e22eae18077698401 (diff)
downloadfocaccia-qemu-6a0f7ff7dd2034fb167557f0444e1f1851dbd654.tar.gz
focaccia-qemu-6a0f7ff7dd2034fb167557f0444e1f1851dbd654.zip
block/dirty-bitmap: Clean up local variable shadowing
Local variables shadowing other local variables or parameters make the
code needlessly hard to understand.  Tracked down with -Wshadow=local.
Clean up: rename both the pair of parameters and the pair of local
variables.  While there, move the local variables to function scope.

Suggested-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Message-ID: <20230921121312.1301864-5-armbru@redhat.com>
Diffstat (limited to 'include/qemu/compiler.h')
0 files changed, 0 insertions, 0 deletions