Use fallthrough statement attribute

This commit is contained in:
Nicolas Williams
2022-01-14 16:32:04 -06:00
parent 367f9ddd7d
commit ddc6113610
17 changed files with 41 additions and 3 deletions

View File

@@ -1192,6 +1192,7 @@ krb5_sendto_context(krb5_context context,
break;
}
action = KRB5_SENDTO_KRBHST;
fallthrough
/* FALLTHROUGH */
case KRB5_SENDTO_KRBHST:
if (ctx->krbhst == NULL) {
@@ -1214,6 +1215,7 @@ krb5_sendto_context(krb5_context context,
handle = heim_retain(ctx->krbhst);
}
action = KRB5_SENDTO_TIMEOUT;
fallthrough
/* FALLTHROUGH */
case KRB5_SENDTO_TIMEOUT: