https://git.reactos.org/?p=reactos.git;a=commitdiff;h=05d52aba2b7a342bcb614…
commit 05d52aba2b7a342bcb614e1b15358fc9bd96e977
Author: George Bișoc <george.bisoc(a)reactos.org>
AuthorDate: Fri Nov 5 10:13:45 2021 +0100
Commit: George Bișoc <george.bisoc(a)reactos.org>
CommitDate: Fri Nov 5 10:13:45 2021 +0100
[NTOS:SE] Partially revert 0129de2
The continue statements do not server any useful purpose in these loops so they're
basically pointless. These have been introduced by mistake so my bad.
---
ntoskrnl/se/token.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/ntoskrnl/se/token.c b/ntoskrnl/se/token.c
index 51ba71f8e22..2f239e6f8c6 100644
--- a/ntoskrnl/se/token.c
+++ b/ntoskrnl/se/token.c
@@ -1217,7 +1217,6 @@ SepDuplicateToken(
*/
SepRemoveUserGroupToken(AccessToken, GroupsIndex);
GroupsIndex--;
- continue;
}
}
@@ -1243,7 +1242,6 @@ SepDuplicateToken(
*/
SepRemovePrivilegeToken(AccessToken, PrivilegesIndex);
PrivilegesIndex--;
- continue;
}
}
}