wbemprox: Initialize a variable (Coverity).

Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Sven Baars 2019-02-16 23:38:55 +01:00 committed by Alexandre Julliard
parent 7e55129b7a
commit 88399dee3f

View file

@ -1372,7 +1372,7 @@ static UINT get_logical_processor_count( UINT *num_physical, UINT *num_packages
NTSTATUS status;
ULONG len, offset = 0;
BOOL smt_enabled = FALSE;
DWORD all;
DWORD all = RelationAll;
if (num_packages) *num_packages = 1;
status = NtQuerySystemInformationEx( SystemLogicalProcessorInformationEx, &all, sizeof(all), NULL, 0, &len );