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:
parent
42a6fc28c8
commit
4ec1ca5a0f
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue