shlwapi/tests: don't check return values inside of if(0) (LLVM/Clang)

Austin English austinenglish at gmail.com
Wed Feb 9 15:44:37 CST 2011


-- 
-Austin
-------------- next part --------------
diff --git a/dlls/shlwapi/tests/thread.c b/dlls/shlwapi/tests/thread.c
index cee87e7..d4a1787 100644
--- a/dlls/shlwapi/tests/thread.c
+++ b/dlls/shlwapi/tests/thread.c
@@ -191,7 +191,7 @@ static void test_SHGetThreadRef(void)
 
     if (0) {
         /* this crash on Windows */
-        hr = pSHGetThreadRef(NULL);
+        pSHGetThreadRef(NULL);
     }
 }
 


More information about the wine-patches mailing list