Austin English : shell32/tests: Make sure return values are used (LLVM/ Clang).

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


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

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

shell32/tests: Make sure return values are used (LLVM/Clang).

---

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

diff --git a/dlls/shell32/tests/shlfileop.c b/dlls/shell32/tests/shlfileop.c
index 810a745..b2d778c 100644
--- a/dlls/shell32/tests/shlfileop.c
+++ b/dlls/shell32/tests/shlfileop.c
@@ -2058,6 +2058,7 @@ static void test_sh_create_dir(void)
     ok(ERROR_ALREADY_EXISTS == ret, "SHCreateDirectoryEx should fail to create existing directory, ret = %d\n", ret);
 
     ret = pSHCreateDirectoryExA(NULL, "c:\\testdir3", NULL);
+    ok(ERROR_SUCCESS == ret, "SHCreateDirectoryEx failed to create directory, ret = %d\n", ret);
     ok(file_exists("c:\\testdir3"), "The directory is not created\n");
 }
 




More information about the wine-cvs mailing list