crypt32/tests: make sure to use a return value (LLVM/Clang) (5/5)

Austin English austinenglish at gmail.com
Thu Feb 10 15:27:16 CST 2011


-- 
-Austin
-------------- next part --------------
diff --git a/dlls/crypt32/tests/oid.c b/dlls/crypt32/tests/oid.c
index 030a548..b661407 100644
--- a/dlls/crypt32/tests/oid.c
+++ b/dlls/crypt32/tests/oid.c
@@ -451,6 +451,7 @@ static void test_registerDefaultOIDFunction(void)
     /* Repeat a few tests on the normal encoding type */
     ret = CryptRegisterDefaultOIDFunction(X509_ASN_ENCODING,
      "CertDllOpenStoreProv", 0, bogusDll);
+    ok(ret, "CryptRegisterDefaultOIDFunction failed\n");
     ret = CryptUnregisterDefaultOIDFunction(X509_ASN_ENCODING,
      "CertDllOpenStoreProv", bogusDll);
     ok(ret, "CryptUnregisterDefaultOIDFunction failed\n");


More information about the wine-patches mailing list