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>
This commit is contained in:
Nikolay Sivov 2016-05-22 21:45:51 +03:00 committed by Alexandre Julliard
parent 42a6fc28c8
commit 4ec1ca5a0f
1 changed files with 0 additions and 1 deletions

View File

@ -524,7 +524,6 @@ BOOL WINAPI CertAddStoreToCollection(HCERTSTORE hCollectionStore,
entry->store = sibling; entry->store = sibling;
entry->dwUpdateFlags = dwUpdateFlags; entry->dwUpdateFlags = dwUpdateFlags;
entry->dwPriority = dwPriority; entry->dwPriority = dwPriority;
list_init(&entry->entry);
TRACE("%p: adding %p, priority %d\n", collection, entry, dwPriority); TRACE("%p: adding %p, priority %d\n", collection, entry, dwPriority);
EnterCriticalSection(&collection->cs); EnterCriticalSection(&collection->cs);
if (dwPriority) if (dwPriority)