https://git.reactos.org/?p=reactos.git;a=commitdiff;h=c54aaacc8ee9b4d93ab36378e773de15f45c5f78

commit c54aaacc8ee9b4d93ab36378e773de15f45c5f78
Author:     Hermès Bélusca-Maïto <[email protected]>
AuthorDate: Sun Apr 1 22:34:17 2018 +0200
Commit:     Hermès Bélusca-Maïto <[email protected]>
CommitDate: Sun Apr 1 22:51:24 2018 +0200

    [NTOSKRNL] Formatting fix only.
---
 ntoskrnl/ex/harderr.c | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/ntoskrnl/ex/harderr.c b/ntoskrnl/ex/harderr.c
index e8e233d81f..10b6682e65 100644
--- a/ntoskrnl/ex/harderr.c
+++ b/ntoskrnl/ex/harderr.c
@@ -14,7 +14,7 @@
 
 #define TAG_ERR ' rrE'
 
-/* GLOBALS ****************************************************************/
+/* GLOBALS ******************************************************************/
 
 BOOLEAN ExReadyForErrors = FALSE;
 PVOID ExpDefaultErrorPort = NULL;
@@ -247,9 +247,12 @@ ExpRaiseHardError(IN NTSTATUS ErrorStatus,
     KeQuerySystemTime(&Message->ErrorTime);
 
     /* Copy the parameters */
-    if (Parameters) RtlMoveMemory(&Message->Parameters,
-                                  Parameters,
-                                  sizeof(ULONG_PTR) * NumberOfParameters);
+    if (Parameters)
+    {
+        RtlMoveMemory(&Message->Parameters,
+                      Parameters,
+                      sizeof(ULONG_PTR) * NumberOfParameters);
+    }
 
     /* Send the LPC Message */
     Status = LpcRequestWaitReplyPort(PortHandle,

Reply via email to