From b91084a992fdf1554b5ed68654705677c9a31681 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Hentschel?= <nerv@dawncrow.de>
Date: Mon, 10 Nov 2014 21:06:31 +0100
Subject: [PATCH] xmllite/tests: Clarify ok() condition (PVS-Studio).

---
 dlls/xmllite/tests/reader.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/xmllite/tests/reader.c b/dlls/xmllite/tests/reader.c
index 010802722d8..f7c576f6154 100644
--- a/dlls/xmllite/tests/reader.c
+++ b/dlls/xmllite/tests/reader.c
@@ -758,7 +758,7 @@ static void test_read_xmldeclaration(void)
         ok(!lstrcmpW(name_val[i].val, val), "expected %s, got %s\n", wine_dbgstr_w(name_val[i].val), wine_dbgstr_w(val));
 
         hr = IXmlReader_MoveToNextAttribute(reader);
-        ok(hr == (i < count - 1) ? S_OK : S_FALSE, "got %08x\n", hr);
+        ok(hr == ((i < count - 1) ? S_OK : S_FALSE), "got %08x\n", hr);
     }
 
     hr = IXmlReader_GetDepth(reader, &count);