Skip to content

Commit 1c9f3ce

Browse files
author
Dan Dees
committed
Utils.cpp - "uneeded" else after "return"
1 parent 02c3036 commit 1c9f3ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

MemoryModule/Utils.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -393,9 +393,9 @@ BOOL NTAPI RtlIsWindowsVersionOrGreater(
393393
) {
394394
if (MmpGlobalDataPtr->NtVersions.MajorVersion == MajorVersion) {
395395
if (MmpGlobalDataPtr->NtVersions.MinorVersion == MinorVersion) return MmpGlobalDataPtr->NtVersions.BuildNumber >= BuildNumber;
396-
else return (MmpGlobalDataPtr->NtVersions.MinorVersion > MinorVersion);
396+
return (MmpGlobalDataPtr->NtVersions.MinorVersion > MinorVersion);
397397
}
398-
else return MmpGlobalDataPtr->NtVersions.MajorVersion > MajorVersion;
398+
return MmpGlobalDataPtr->NtVersions.MajorVersion > MajorVersion;
399399
}
400400

401401
BOOL NTAPI RtlIsWindowsVersionInScope(

0 commit comments

Comments
 (0)