Michael Stefaniuc : crypt32/tests: Remove an unused assignment (PVS-Studio ).

Alexandre Julliard julliard at wine.codeweavers.com
Wed Mar 4 09:22:16 CST 2015


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

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Wed Mar  4 09:05:54 2015 +0100

crypt32/tests: Remove an unused assignment (PVS-Studio).

---

 dlls/crypt32/tests/cert.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/crypt32/tests/cert.c b/dlls/crypt32/tests/cert.c
index 259361c..da32a74 100644
--- a/dlls/crypt32/tests/cert.c
+++ b/dlls/crypt32/tests/cert.c
@@ -2874,7 +2874,7 @@ static void testGetValidUsages(void)
              oids[i]);
         HeapFree(GetProcessHeap(), 0, oids);
     }
-    numOIDs = size = 0xdeadbeef;
+    numOIDs = 0xdeadbeef;
     /* Oddly enough, this crashes when the number of contexts is not 1:
     ret = pCertGetValidUsages(2, contexts, &numOIDs, NULL, &size);
      * but setting size to 0 allows it to succeed:




More information about the wine-cvs mailing list