shell32/tests: Don't check return values inside of if(0) (LLVM/Clang).
authorAustin English <austinenglish@gmail.com>
Thu, 10 Feb 2011 21:28:17 +0000 (13:28 -0800)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 14 Feb 2011 11:26:45 +0000 (12:26 +0100)
dlls/shell32/tests/shellpath.c

index 2a86eacf78ecf5f126688ee3de8340124cc8d08e..d81ce803a3eee451c674007e876b019206644083 100644 (file)
@@ -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.