fixed uninitialized variable warnings
Modified: trunk/reactos/ntoskrnl/ke/wait.c

Modified: trunk/reactos/ntoskrnl/ke/wait.c
--- trunk/reactos/ntoskrnl/ke/wait.c	2006-01-06 11:36:43 UTC (rev 20607)
+++ trunk/reactos/ntoskrnl/ke/wait.c	2006-01-06 11:58:17 UTC (rev 20608)
@@ -105,7 +105,7 @@
     PKWAIT_BLOCK TimerWaitBlock;
     PKTIMER ThreadTimer;
     PKTHREAD CurrentThread = KeGetCurrentThread();
-    NTSTATUS WaitStatus;
+    NTSTATUS WaitStatus = STATUS_SUCCESS;
     DPRINT("Entering KeDelayExecutionThread\n");
 
     /* Check if the lock is already held */
@@ -238,7 +238,7 @@
     PKWAIT_BLOCK TimerWaitBlock;
     PKTIMER ThreadTimer;
     PKTHREAD CurrentThread = KeGetCurrentThread();
-    NTSTATUS WaitStatus;
+    NTSTATUS WaitStatus = STATUS_SUCCESS;
     DPRINT("Entering KeWaitForSingleObject\n");
 
     /* Check if the lock is already held */
@@ -436,7 +436,7 @@
     PKTHREAD CurrentThread = KeGetCurrentThread();
     ULONG AllObjectsSignaled;
     ULONG WaitIndex;
-    NTSTATUS WaitStatus;
+    NTSTATUS WaitStatus = STATUS_SUCCESS;
     DPRINT("Entering KeWaitForMultipleObjects(Count %lu Object[] %p) "
            "PsGetCurrentThread() %x, Timeout %x\n",
            Count, Object, PsGetCurrentThread(), Timeout);