Sven Baars : wbemprox: Initialize a variable (Coverity).
Alexandre Julliard
julliard at winehq.org
Mon Feb 18 15:43:30 CST 2019
Module: wine
Branch: master
Commit: 88399dee3f712f19c5f95fbb1b9e21070f947534
URL: https://source.winehq.org/git/wine.git/?a=commit;h=88399dee3f712f19c5f95fbb1b9e21070f947534
Author: Sven Baars <sven.wine at gmail.com>
Date: Sat Feb 16 23:38:55 2019 +0100
wbemprox: Initialize a variable (Coverity).
Signed-off-by: Sven Baars <sven.wine at gmail.com>
Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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 d2b7dc1..b206a2a 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 );
More information about the wine-cvs
mailing list