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

weiden at svn.reactos.com weiden at svn.reactos.com
Thu Jan 20 14:17:59 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 13:13:16 UTC (rev
13164)
+++ trunk/reactos/ntoskrnl/ps/process.c	2005-01-20 13:17:57 UTC (rev
13165)
@@ -1738,7 +1738,7 @@

         }
         else
         {
-          HANDLE PortHandle;
+          HANDLE PortHandle = NULL;
 
           /* make a safe copy of the buffer on the stack */
           _SEH_TRY
@@ -1826,7 +1826,7 @@
         }
         else
         {
-          HANDLE PortHandle;
+          HANDLE PortHandle = NULL;
 
           /* make a safe copy of the buffer on the stack */
           _SEH_TRY
@@ -1895,7 +1895,7 @@
         }
         else
         {
-          HANDLE TokenHandle;
+          HANDLE TokenHandle = NULL;
 
           /* make a safe copy of the buffer on the stack */
           _SEH_TRY
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050120/f8eed5a8/attachment.html


More information about the Ros-diffs mailing list