https://git.reactos.org/?p=reactos.git;a=commitdiff;h=cef9f5c4a6997601bf74a…
commit cef9f5c4a6997601bf74a65e20b07242585e039f
Author: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
AuthorDate: Wed Nov 15 21:12:05 2023 +0100
Commit: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
CommitDate: Thu Nov 16 17:06:40 2023 +0100
[RTL] Minor formatting, remove redundant 'return'.
---
dll/ntdll/rtl/libsupp.c | 1 -
ntoskrnl/rtl/libsupp.c | 4 ++--
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/dll/ntdll/rtl/libsupp.c b/dll/ntdll/rtl/libsupp.c
index 7053bf401d7..18bac9a7b25 100644
--- a/dll/ntdll/rtl/libsupp.c
+++ b/dll/ntdll/rtl/libsupp.c
@@ -338,7 +338,6 @@ RtlpGetStackLimits(
{
*LowLimit = (ULONG_PTR)NtCurrentTeb()->NtTib.StackLimit;
*HighLimit = (ULONG_PTR)NtCurrentTeb()->NtTib.StackBase;
- return;
}
BOOLEAN
diff --git a/ntoskrnl/rtl/libsupp.c b/ntoskrnl/rtl/libsupp.c
index 1a6ac697a7c..462bea20fa0 100644
--- a/ntoskrnl/rtl/libsupp.c
+++ b/ntoskrnl/rtl/libsupp.c
@@ -513,13 +513,13 @@ RtlpGetStackLimits(
OUT PULONG_PTR HighLimit)
{
PKTHREAD CurrentThread = KeGetCurrentThread();
+ *LowLimit = (ULONG_PTR)CurrentThread->StackLimit;
#ifdef _M_IX86
- * HighLimit = (ULONG_PTR)CurrentThread->InitialStack -
+ *HighLimit = (ULONG_PTR)CurrentThread->InitialStack -
sizeof(FX_SAVE_AREA);
#else
*HighLimit = (ULONG_PTR)CurrentThread->InitialStack;
#endif
- *LowLimit = (ULONG_PTR)CurrentThread->StackLimit;
}
/* RTL Atom Tables ************************************************************/