We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2e8384 commit 182acf9Copy full SHA for 182acf9
MemoryModule/MmpLdrpTls.cpp
@@ -141,12 +141,9 @@ static NTSTATUS NTAPI RtlFindLdrpHandleTlsData10() {
141
}
142
143
static NTSTATUS NTAPI RtlFindLdrpHandleTlsData() {
144
- if (MmpGlobalDataPtr->NtVersions.MajorVersion >= 10) {
145
- return RtlFindLdrpHandleTlsData10();
146
- }
147
- else {
148
- return RtlFindLdrpHandleTlsDataOld();
149
+ return MmpGlobalDataPtr->NtVersions.MajorVersion >= 10
+ ? RtlFindLdrpHandleTlsData10()
+ : RtlFindLdrpHandleTlsDataOld();
150
151
152
static NTSTATUS NTAPI RtlFindLdrpReleaseTlsEntry() {
0 commit comments