[PATCH] wbemprox: Initialize a variable (Coverity).
Sven Baars
sven.wine at gmail.com
Sat Feb 16 16:38:55 CST 2019
Signed-off-by: Sven Baars <sven.wine at 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
More information about the wine-devel
mailing list