aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/qapi/source.py
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2023-09-04 18:28:24 +0200
committerThomas Huth <thuth@redhat.com>2023-09-12 12:07:31 +0200
commit82fdcd3e140c8d4c63f177ece554f90f2bccdf68 (patch)
treeb8fc0161f016269d52c8eb6f181ec3751c50dce8 /scripts/qapi/source.py
parentkconfig: Add NVME to s390x machines (diff)
downloadqemu-82fdcd3e140c8d4c63f177ece554f90f2bccdf68.tar.xz
qemu-82fdcd3e140c8d4c63f177ece554f90f2bccdf68.zip
tests/qtest/pflash: Clean up local variable shadowing
Fix: tests/qtest/pflash-cfi02-test.c: In function ‘test_geometry’: tests/qtest/pflash-cfi02-test.c:409:22: warning: declaration of ‘byte_addr’ shadows a previous local [-Wshadow=compatible-local] 409 | uint64_t byte_addr = (uint64_t)i * c->sector_len[region]; | ^~~~~~~~~ tests/qtest/pflash-cfi02-test.c:342:14: note: shadowed declaration is here 342 | uint64_t byte_addr = 0; | ^~~~~~~~~ Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <20230904162824.85385-4-philmd@linaro.org> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'scripts/qapi/source.py')
0 files changed, 0 insertions, 0 deletions