]> xenbits.xensource.com Git - qemu-xen.git/commit
tests/tcg: fix unused variable in linux-test
authorAlex Bennée <alex.bennee@linaro.org>
Wed, 21 Dec 2022 09:04:09 +0000 (09:04 +0000)
committerMichael Tokarev <mjt@tls.msk.ru>
Wed, 29 Mar 2023 07:20:05 +0000 (10:20 +0300)
commit9d46d348f649f640b2ba0b0b160b562c8f720fc9
tree42ee8ea41bf520fdc381da21cabe51382e3bfa85
parent7c8a67ed462a1089e7c3837cb94579031c6ecc6b
tests/tcg: fix unused variable in linux-test

The latest hexagon compiler picks up that we never consume wcount.
Given the name of the #define that rcount checks against is WCOUNT_MAX
I figured the check just got missed.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20221221090411.1995037-5-alex.bennee@linaro.org>
(cherry picked from commit 2bc6c79417b89c3306b724577e775f03fe61fb2e)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
tests/tcg/multiarch/linux/linux-test.c