xmllite/tests: Clarify ok() condition (PVS-Studio).

This commit is contained in:
André Hentschel 2014-11-10 21:06:31 +01:00 committed by Alexandre Julliard
parent d978dcedd5
commit b91084a992
1 changed files with 1 additions and 1 deletions

View File

@ -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);