Module: wine Branch: master Commit: 4ec1ca5a0ff3b3c6adbd458b166a865132e5b984 URL: http://source.winehq.org/git/wine.git/?a=commit;h=4ec1ca5a0ff3b3c6adbd458b16...
Author: Nikolay Sivov nsivov@codeweavers.com Date: Sun May 22 21:45:51 2016 +0300
crypt32: No need to init entry fields when it's about to be added to a list.
Signed-off-by: Nikolay Sivov nsivov@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
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)