Coding Style - ReactOS Wiki
<https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&ved=0ahUKEwiBgrjOxNzNAhVU5WMKHRGND7MQFggjMAE&url=https%3A%2F%2Freactos.org%2Fwiki%2FCoding_Style&usg=AFQjCNHwtNOsUOmSfCB838_p9eIDqT1NQg&sig2=U1hpYA1fc7LH8EGiGxoM7Q&bvm=bv.126130881,d.cGc>
Stop calling them "mine".
Best regards,
Alex Ionescu
On Mon, Jul 4, 2016 at 5:38 PM, <hbelusca(a)svn.reactos.org> wrote:
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=…
==============================================================================
--- 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