mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-22 09:57:41 +00:00
Remove unnecessary break statement.
This commit is contained in:
parent
0d04bbdbe2
commit
7bafd52fac
@ -688,7 +688,6 @@ default_binding_matches(struct sudoers_parse_tree *parse_tree,
|
|||||||
switch (d->type) {
|
switch (d->type) {
|
||||||
case DEFAULTS:
|
case DEFAULTS:
|
||||||
debug_return_bool(true);
|
debug_return_bool(true);
|
||||||
break;
|
|
||||||
case DEFAULTS_USER:
|
case DEFAULTS_USER:
|
||||||
if (userlist_matches(parse_tree, sudo_user.pw, d->binding) == ALLOW)
|
if (userlist_matches(parse_tree, sudo_user.pw, d->binding) == ALLOW)
|
||||||
debug_return_bool(true);
|
debug_return_bool(true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user