uninitialized variable fix
authorSylvain Petreolle <spetreolle@yahoo.fr>
Fri, 26 Jan 2007 22:00:03 +0000 (22:00 +0000)
committerSylvain Petreolle <spetreolle@yahoo.fr>
Fri, 26 Jan 2007 22:00:03 +0000 (22:00 +0000)
svn path=/trunk/; revision=25640

reactos/ntoskrnl/dbgk/debug.c

index bf99192..eeb87ea 100644 (file)
@@ -1830,7 +1830,7 @@ NtWaitForDebugEvent(IN HANDLE DebugHandle,
     PDEBUG_OBJECT DebugObject;
     DBGUI_WAIT_STATE_CHANGE WaitStateChange;
     NTSTATUS Status = STATUS_SUCCESS;
-    PDEBUG_EVENT DebugEvent, DebugEvent2;
+    PDEBUG_EVENT DebugEvent = NULL, DebugEvent2;
     PLIST_ENTRY ListHead, NextEntry, NextEntry2;
     PAGED_CODE();
     DBGKTRACE(DBGK_OBJECT_DEBUG, "Handle: %p\n", DebugHandle);