Juan Lang : crypt32/tests: Remove dead assignments (clang).

Alexandre Julliard julliard at winehq.org
Mon Jan 31 11:26:17 CST 2011


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

Author: Juan Lang <juan.lang at gmail.com>
Date:   Mon Jan 31 08:12:20 2011 -0800

crypt32/tests: Remove dead assignments (clang).

---

 dlls/crypt32/tests/main.c |    2 +-
 dlls/crypt32/tests/msg.c  |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/crypt32/tests/main.c b/dlls/crypt32/tests/main.c
index 410f9a9..5f2e4d0 100644
--- a/dlls/crypt32/tests/main.c
+++ b/dlls/crypt32/tests/main.c
@@ -93,7 +93,7 @@ static void test_findExtension(void)
     {
         /* crashes */
         SetLastError(0xdeadbeef);
-        ret = CertFindExtension(NULL, 1, NULL);
+        CertFindExtension(NULL, 1, NULL);
         /* returns NULL, last error is ERROR_INVALID_PARAMETER
          * crashes on Vista
          */
diff --git a/dlls/crypt32/tests/msg.c b/dlls/crypt32/tests/msg.c
index 2e27c0f..fc54041 100644
--- a/dlls/crypt32/tests/msg.c
+++ b/dlls/crypt32/tests/msg.c
@@ -3618,8 +3618,8 @@ static void test_msg_get_and_verify_signer(void)
     /* Crash */
     if (0)
     {
-        ret = CryptMsgGetAndVerifySigner(NULL, 0, NULL, 0, NULL, NULL);
-        ret = CryptMsgGetAndVerifySigner(NULL, 0, NULL, 0, NULL, &signerIndex);
+        CryptMsgGetAndVerifySigner(NULL, 0, NULL, 0, NULL, NULL);
+        CryptMsgGetAndVerifySigner(NULL, 0, NULL, 0, NULL, &signerIndex);
     }
 
     msg = CryptMsgOpenToDecode(PKCS_7_ASN_ENCODING, 0, 0, 0, NULL, NULL);




More information about the wine-cvs mailing list