Author: hbelusca
Date: Tue Jul 5 00:38:28 2016
New Revision: 71819
URL: http://svn.reactos.org/svn/reactos?rev=71819&view=rev
Log:
[RTL]: Follow what I guess might be Alex' coding standards.
Modified:
trunk/reactos/sdk/lib/rtl/process.c
Modified: trunk/reactos/sdk/lib/rtl/process.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/lib/rtl/process.c?rev=71819&r1=71818&r2=71819&view=diff
==============================================================================
--- trunk/reactos/sdk/lib/rtl/process.c [iso-8859-1] (original)
+++ trunk/reactos/sdk/lib/rtl/process.c [iso-8859-1] Tue Jul 5 00:38:28 2016
@@ -75,7 +75,7 @@
PVOID BaseAddress = NULL;
SIZE_T EnviroSize;
SIZE_T Size;
- PWCHAR Environment = 0;
+ PWCHAR Environment = NULL;
DPRINT("RtlpInitEnvironment(ProcessHandle: %p, Peb: %p Params: %p)\n",
ProcessHandle, Peb, ProcessParameters);
@@ -301,7 +301,9 @@
DUPLICATE_SAME_ACCESS |
DUPLICATE_SAME_ATTRIBUTES);
if (!NT_SUCCESS(Status))
+ {
_SEH2_LEAVE;
+ }
}
if (ProcessParameters->StandardOutput)
@@ -315,7 +317,9 @@
DUPLICATE_SAME_ACCESS |
DUPLICATE_SAME_ATTRIBUTES);
if (!NT_SUCCESS(Status))
+ {
_SEH2_LEAVE;
+ }
}
if (ProcessParameters->StandardError)
@@ -329,7 +333,9 @@
DUPLICATE_SAME_ACCESS |
DUPLICATE_SAME_ATTRIBUTES);
if (!NT_SUCCESS(Status))
+ {
_SEH2_LEAVE;
+ }
}
}
_SEH2_FINALLY