[RTL] Minor formatting, remove redundant 'return'.

This commit is contained in:
Hermès Bélusca-Maïto 2023-11-15 21:12:05 +01:00
parent 6a6b5ec22c
commit cef9f5c4a6
No known key found for this signature in database
GPG Key ID: 3B2539C65E7B93D0
2 changed files with 2 additions and 3 deletions

View File

@ -338,7 +338,6 @@ RtlpGetStackLimits(
{
*LowLimit = (ULONG_PTR)NtCurrentTeb()->NtTib.StackLimit;
*HighLimit = (ULONG_PTR)NtCurrentTeb()->NtTib.StackBase;
return;
}
BOOLEAN

View File

@ -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 ************************************************************/