crypt32/tests: Remove an unused assignment (PVS-Studio)
Michael Stefaniuc
mstefani at redhat.de
Wed Mar 4 02:05:54 CST 2015
---
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
More information about the wine-patches
mailing list