aboutsummaryrefslogtreecommitdiff
path: root/trace/event-internal.h
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2023-09-04 18:12:34 +0200
committerMarkus Armbruster <armbru@redhat.com>2023-09-29 10:07:17 +0200
commit6ba9b60a93d4f4df70205cbeb6c547a863f3c170 (patch)
treeea3c064c260bc7ccd2d75b19b9a875aa7575862c /trace/event-internal.h
parent083f450f659c0d34766d80a99878d2a1e5f8f495 (diff)
downloadqemu-6ba9b60a93d4f4df70205cbeb6c547a863f3c170.zip
qemu-6ba9b60a93d4f4df70205cbeb6c547a863f3c170.tar.gz
qemu-6ba9b60a93d4f4df70205cbeb6c547a863f3c170.tar.bz2
softmmu/physmem: Clean up local variable shadowing
Fix: softmmu/physmem.c: In function ‘cpu_physical_memory_snapshot_and_clear_dirty’: softmmu/physmem.c:916:27: warning: declaration of ‘offset’ shadows a parameter [-Wshadow=compatible-local] 916 | unsigned long offset = page % DIRTY_MEMORY_BLOCK_SIZE; | ^~~~~~ softmmu/physmem.c:892:31: note: shadowed declaration is here 892 | (MemoryRegion *mr, hwaddr offset, hwaddr length, unsigned client) | ~~~~~~~^~~~~~ Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <20230904161235.84651-23-philmd@linaro.org> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Peter Xu <peterx@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'trace/event-internal.h')
0 files changed, 0 insertions, 0 deletions