Austin English : shlwapi/tests: Don't check return values inside of if(0) ( LLVM/Clang).

Alexandre Julliard julliard at winehq.org
Thu Feb 10 11:42:08 CST 2011


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

Author: Austin English <austinenglish at gmail.com>
Date:   Wed Feb  9 13:44:37 2011 -0800

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

---

 dlls/shlwapi/tests/thread.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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-cvs mailing list