xmllite/tests: Don't check test results inside if(0) (LLVM/Clang).

This commit is contained in:
Austin English 2011-02-08 16:05:34 -08:00 committed by Alexandre Julliard
parent 99012fe793
commit ea0e7d6421
1 changed files with 2 additions and 2 deletions

View File

@ -354,8 +354,8 @@ static void test_reader_create(void)
/* crashes native */ /* crashes native */
if (0) if (0)
{ {
hr = pCreateXmlReader(&IID_IXmlReader, NULL, NULL); pCreateXmlReader(&IID_IXmlReader, NULL, NULL);
hr = pCreateXmlReader(NULL, (LPVOID*)&reader, NULL); pCreateXmlReader(NULL, (LPVOID*)&reader, NULL);
} }
hr = pCreateXmlReader(&IID_IXmlReader, (LPVOID*)&reader, NULL); hr = pCreateXmlReader(&IID_IXmlReader, (LPVOID*)&reader, NULL);