Generic: Fix warnings (fallthrough mosty)

This commit is contained in:
Nicolas Williams
2020-08-05 22:15:23 -05:00
parent c06252745d
commit 7d50445d1b
7 changed files with 10 additions and 6 deletions

View File

@@ -33,6 +33,9 @@
* SUCH DAMAGE.
*/
#undef KRB5_DEPRECATED_FUNCTION
#define KRB5_DEPRECATED_FUNCTION(x)
#include "krb5_locl.h"
#include <assert.h>
#include <com_err.h>

View File

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