Use fallthrough statement attribute (moar)

This commit is contained in:
Nicolas Williams
2022-01-14 16:53:28 -06:00
parent ddc6113610
commit c607135a03
16 changed files with 28 additions and 23 deletions

View File

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