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

Alexandre Julliard julliard at winehq.org
Mon Feb 14 10:02:04 CST 2011


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

Author: Austin English <austinenglish at gmail.com>
Date:   Thu Feb 10 13:28:17 2011 -0800

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

---

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

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