Juan Lang : crypt32/tests: Don't assign a return value that' s never checked (clang).

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


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

Author: Juan Lang <juan.lang at gmail.com>
Date:   Fri Jan 28 13:20:23 2011 -0800

crypt32/tests: Don't assign a return value that's never checked (clang).

---

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

diff --git a/dlls/crypt32/tests/store.c b/dlls/crypt32/tests/store.c
index b749719..521fc48 100644
--- a/dlls/crypt32/tests/store.c
+++ b/dlls/crypt32/tests/store.c
@@ -1844,7 +1844,7 @@ static void testCertOpenSystemStore(void)
     if (store)
         CertCloseStore(store, 0);
     /* Delete it so other tests succeed next time around */
-    store = CertOpenStore(CERT_STORE_PROV_SYSTEM, 0, 0,
+    CertOpenStore(CERT_STORE_PROV_SYSTEM, 0, 0,
      CERT_SYSTEM_STORE_CURRENT_USER | CERT_STORE_DELETE_FLAG, BogusW);
     RegDeleteKeyW(HKEY_CURRENT_USER, BogusPathW);
 }




More information about the wine-cvs mailing list