mirror of
https://github.com/sudo-project/sudo.git
synced 2025-09-01 23:05:17 +00:00
Use the fallthrough attribute instead of /* FALLTHROUGH */ comments.
This commit is contained in:
@@ -152,7 +152,7 @@ array_to_member_list(void *a, sudo_ldap_iter_t iter)
|
||||
m->type = ALL;
|
||||
break;
|
||||
}
|
||||
/* FALLTHROUGH */
|
||||
FALLTHROUGH;
|
||||
default:
|
||||
m->type = WORD;
|
||||
break;
|
||||
@@ -222,7 +222,7 @@ host_to_member(char *host)
|
||||
m->type = ALL;
|
||||
break;
|
||||
}
|
||||
/* FALLTHROUGH */
|
||||
FALLTHROUGH;
|
||||
default:
|
||||
if (is_address(host)) {
|
||||
m->type = NTWKADDR;
|
||||
|
Reference in New Issue
Block a user