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

Alexandre Julliard julliard at winehq.org
Wed Feb 9 15:30:12 CST 2011


Module: wine
Branch: master
Commit: ea0e7d6421c8bdecdf5f6601fde0b8cbcdc47b1f
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=ea0e7d6421c8bdecdf5f6601fde0b8cbcdc47b1f

Author: Austin English <austinenglish at gmail.com>
Date:   Tue Feb  8 16:05:34 2011 -0800

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

---

 dlls/xmllite/tests/reader.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/xmllite/tests/reader.c b/dlls/xmllite/tests/reader.c
index bd6ac1a..de25d7e 100644
--- a/dlls/xmllite/tests/reader.c
+++ b/dlls/xmllite/tests/reader.c
@@ -354,8 +354,8 @@ static void test_reader_create(void)
     /* crashes native */
     if (0)
     {
-        hr = pCreateXmlReader(&IID_IXmlReader, NULL, NULL);
-        hr = pCreateXmlReader(NULL, (LPVOID*)&reader, NULL);
+        pCreateXmlReader(&IID_IXmlReader, NULL, NULL);
+        pCreateXmlReader(NULL, (LPVOID*)&reader, NULL);
     }
 
     hr = pCreateXmlReader(&IID_IXmlReader, (LPVOID*)&reader, NULL);




More information about the wine-cvs mailing list