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

Austin English austinenglish at gmail.com
Thu Feb 10 15:28:17 CST 2011


-- 
-Austin
-------------- next part --------------
diff --git a/dlls/shell32/tests/shellpath.c b/dlls/shell32/tests/shellpath.c
index 2a86eac..d81ce80 100644
--- a/dlls/shell32/tests/shellpath.c
+++ b/dlls/shell32/tests/shellpath.c
@@ -358,7 +358,7 @@ static void test_parameters(void)
         BOOL ret;
 
         if (0)
-           ret = pSHGetSpecialFolderPathA(NULL, NULL, CSIDL_BITBUCKET, FALSE);
+           pSHGetSpecialFolderPathA(NULL, NULL, CSIDL_BITBUCKET, FALSE);
 
         /* odd but true: calling with a NULL path still succeeds if it's a real
          * dir (on some windows platform).  on winME it generates exception.


More information about the wine-patches mailing list