aboutsummaryrefslogtreecommitdiff
path: root/hw/misc/omap_tap.c
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 /hw/misc/omap_tap.c
parent0daaf2761f6d268ffaa2d01d450e202e127452b1 (diff)
downloadqemu-926bef1d82bb9eb7a752aa128d9e70b808906243.zip
qemu-926bef1d82bb9eb7a752aa128d9e70b808906243.tar.gz
qemu-926bef1d82bb9eb7a752aa128d9e70b808906243.tar.bz2
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 'hw/misc/omap_tap.c')
0 files changed, 0 insertions, 0 deletions