From: Michael Stefaniuc Subject: crypt32/tests: Remove an unused assignment (PVS-Studio) Message-Id: <20150304080554.GA19075@redhat.com> Date: Wed, 4 Mar 2015 09:05:54 +0100 --- 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: -- 1.9.3