winmm/tests: Simplify conditional expression (PVS-Studio).

Signed-off-by: Frédéric Delanoy <frederic.delanoy@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Frédéric Delanoy 2015-10-15 19:43:50 +02:00 committed by Alexandre Julliard
parent bf4493404c
commit 91a4f41712
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ static void test_api(void)
par = 0xdead;
ret = joyGetThreshold(joyid, &par);
ok(ret == JOYERR_NOERROR, "Test [%d]: Expected %d, got %d\n", i, JOYERR_NOERROR, ret);
if (!win98 || (win98 && i < 8))
if (!win98 || i < 8)
{
if ((1 << i) & threshold_error)
ok(par == period[8], "Test [%d]: Expected %d, got %d\n", i, period[8], par);