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! */
Show replies by date