[PATCH] wbemprox: Initialize a variable (Coverity).
16 Feb
2019
16 Feb
'19
4:38 p.m.
Signed-off-by: Sven Baars <sven.wine(a)gmail.com> --- dlls/wbemprox/builtin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/wbemprox/builtin.c b/dlls/wbemprox/builtin.c index d2b7dc116f..b206a2a658 100644 --- a/dlls/wbemprox/builtin.c +++ b/dlls/wbemprox/builtin.c @@ -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 ); -- 2.17.1
2492
Age (days ago)
2494
Last active (days ago)
1 comments
2 participants
participants (2)
-
Hans Leidekker -
Sven Baars