[ros-diffs] [weiden] 13164: fixed uninitialized variables warning

weiden at svn.reactos.com weiden at svn.reactos.com
Thu Jan 20 14:13:18 CET 2005


fixed uninitialized variables warning
Modified: trunk/reactos/ntoskrnl/ps/process.c
  _____  

Modified: trunk/reactos/ntoskrnl/ps/process.c
--- trunk/reactos/ntoskrnl/ps/process.c	2005-01-20 11:41:23 UTC (rev
13163)
+++ trunk/reactos/ntoskrnl/ps/process.c	2005-01-20 13:13:16 UTC (rev
13164)
@@ -1496,9 +1496,9 @@

          */
         if(Process->Peb != NULL)
         {
-          PRTL_USER_PROCESS_PARAMETERS ProcParams;
+          PRTL_USER_PROCESS_PARAMETERS ProcParams = NULL;
           UNICODE_STRING LocalDest;
-          ULONG ImagePathLen;
+          ULONG ImagePathLen = 0;
           PUNICODE_STRING DstPath =
(PUNICODE_STRING)ProcessInformation;
 
           /* we need to attach to the process to make sure we're in the
right context! */
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050120/9a1c020c/attachment.html


More information about the Ros-diffs mailing list