crypt32/tests: Remove an unused assignment (PVS-Studio)
Michael Stefaniuc
mstefani at redhat.de
Wed Nov 12 08:28:45 CST 2014
---
The test before this uses
info.SubjectAlgorithm.pszObjId = oid2;
so assuming a copy and paste issue as all was added in one commit.
dlls/crypt32/tests/encode.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/dlls/crypt32/tests/encode.c b/dlls/crypt32/tests/encode.c
index 9e1853f..e9b49e9 100644
--- a/dlls/crypt32/tests/encode.c
+++ b/dlls/crypt32/tests/encode.c
@@ -5762,7 +5762,6 @@ static void test_decodeCTL(DWORD dwEncoding)
info.SubjectAlgorithm.Parameters.cbData = 0;
info.ThisUpdate.dwLowDateTime = info.ThisUpdate.dwHighDateTime = 0;
info.NextUpdate.dwLowDateTime = info.NextUpdate.dwHighDateTime = 0;
- info.SubjectAlgorithm.pszObjId = oid2;
info.SubjectAlgorithm.pszObjId = NULL;
value1.cbData = sizeof(emptySequence);
value1.pbData = (LPBYTE)emptySequence;
--
1.9.3
More information about the wine-patches
mailing list