[PATCH] crypt32: No need to init entry fields when it's about to be added to a list

Nikolay Sivov nsivov at codeweavers.com
Sun May 22 13:45:51 CDT 2016


Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
 dlls/crypt32/collectionstore.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dlls/crypt32/collectionstore.c b/dlls/crypt32/collectionstore.c
index bfb83d1..f565745 100644
--- a/dlls/crypt32/collectionstore.c
+++ b/dlls/crypt32/collectionstore.c
@@ -524,7 +524,6 @@ BOOL WINAPI CertAddStoreToCollection(HCERTSTORE hCollectionStore,
         entry->store = sibling;
         entry->dwUpdateFlags = dwUpdateFlags;
         entry->dwPriority = dwPriority;
-        list_init(&entry->entry);
         TRACE("%p: adding %p, priority %d\n", collection, entry, dwPriority);
         EnterCriticalSection(&collection->cs);
         if (dwPriority)
-- 
2.8.1




More information about the wine-patches mailing list