Austin English : crypt32/tests: Make sure to use a return value (LLVM/Clang ).

Alexandre Julliard julliard at winehq.org
Fri Feb 11 11:16:34 CST 2011


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

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

crypt32/tests: Make sure to use a return value (LLVM/Clang).

---

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

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