[ros-diffs] [weiden] 20796: fixed uninitialized variable warning

weiden at svn.reactos.org weiden at svn.reactos.org
Thu Jan 12 01:13:56 CET 2006


fixed uninitialized variable warning
Modified: trunk/reactos/ntoskrnl/ke/usercall.c
  _____  

Modified: trunk/reactos/ntoskrnl/ke/usercall.c
--- trunk/reactos/ntoskrnl/ke/usercall.c	2006-01-12 00:11:14 UTC
(rev 20795)
+++ trunk/reactos/ntoskrnl/ke/usercall.c	2006-01-12 00:13:45 UTC
(rev 20796)
@@ -40,7 +40,7 @@

 {
     ULONG_PTR NewStack, OldStack;
     PULONG UserEsp;
-    NTSTATUS CallbackStatus;
+    NTSTATUS CallbackStatus = STATUS_SUCCESS;
     PEXCEPTION_REGISTRATION_RECORD ExceptionList;
     DPRINT("KeUserModeCallback(RoutineIndex %d, Argument %X,
ArgumentLength %d)\n",
             RoutineIndex, Argument, ArgumentLength);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20060112/a0ce594e/attachment.html


More information about the Ros-diffs mailing list