[PATCH (try2)] ntdll: Initialize variable (Coverity).

Andrew Eikum aeikum at codeweavers.com
Wed Feb 10 12:53:42 CST 2016


Signed-off-by: Andrew Eikum <aeikum at codeweavers.com>

---

try2: fix signoff

CID 1351895
---
 dlls/ntdll/nt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/ntdll/nt.c b/dlls/ntdll/nt.c
index 5c8b7fd..a18dfae 100644
--- a/dlls/ntdll/nt.c
+++ b/dlls/ntdll/nt.c
@@ -2340,7 +2340,7 @@ NTSTATUS WINAPI NtQuerySystemInformation(
 NTSTATUS WINAPI NtQuerySystemInformationEx(SYSTEM_INFORMATION_CLASS SystemInformationClass,
     void *Query, ULONG QueryLength, void *SystemInformation, ULONG Length, ULONG *ResultLength)
 {
-    ULONG len;
+    ULONG len = 0;
     NTSTATUS ret = STATUS_NOT_IMPLEMENTED;
 
     TRACE("(0x%08x,%p,%u,%p,%u,%p) stub\n", SystemInformationClass, Query, QueryLength, SystemInformation,
-- 
2.7.1





More information about the wine-patches mailing list