Commit b91084a9 authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

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

parent d978dced
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment