shell32/tests: make sure return value is used (LLVM/Clang)

Austin English austinenglish at gmail.com
Wed Feb 9 15:44:32 CST 2011


-- 
-Austin
-------------- next part --------------
diff --git a/dlls/shell32/tests/shlexec.c b/dlls/shell32/tests/shlexec.c
index 252aed7..2933740 100644
--- a/dlls/shell32/tests/shlexec.c
+++ b/dlls/shell32/tests/shlexec.c
@@ -343,6 +343,7 @@ static void create_test_verb_dde(const char* extension, const char* verb,
     if (rawcmd)
     {
         rc=RegSetValueEx(hkey_cmd, NULL, 0, REG_SZ, (LPBYTE)cmdtail, strlen(cmdtail)+1);
+        assert(rc==ERROR_SUCCESS);
     }
     else
     {


More information about the wine-patches mailing list