aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/qapi/source.py
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2023-09-22 18:37:42 +0200
committerThomas Huth <thuth@redhat.com>2023-09-25 07:54:35 +0200
commit926bef1d82bb9eb7a752aa128d9e70b808906243 (patch)
tree47313cdd38b55e4263f03fd5279ac2ba7a28daca /scripts/qapi/source.py
parenttests/qtest/netdev-socket: Raise connection timeout to 120 seconds (diff)
downloadqemu-926bef1d82bb9eb7a752aa128d9e70b808906243.tar.xz
qemu-926bef1d82bb9eb7a752aa128d9e70b808906243.zip
tests/qtest/m48t59-test: Silence compiler warning with -Wshadow
When compiling this file with -Wshadow=local , we get: ../tests/qtest/m48t59-test.c: In function ‘bcd_check_time’: ../tests/qtest/m48t59-test.c:195:17: warning: declaration of ‘s’ shadows a previous local [-Wshadow=local] 195 | long t, s; | ^ ../tests/qtest/m48t59-test.c:158:17: note: shadowed declaration is here 158 | QTestState *s = m48t59_qtest_start(); | ^ Rename the QTestState variable to "qts" which is the common naming for such a variable in other tests. Reported-by: Markus Armbruster <armbru@redhat.com> Message-ID: <20230922163742.149444-1-thuth@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: "Daniel P. Berrangé" <berrange@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'scripts/qapi/source.py')
0 files changed, 0 insertions, 0 deletions