Commit 29846056 authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

crypt32/tests: Remove dead assignments (clang).

parent a4fe05a0
......@@ -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
*/
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment