BUILD: ssl: use __fallthrough in cli_io_handler_tlskeys_files()
This avoids two build warnings when preprocessing happens before compiling with gcc >= 7.
This commit is contained in:
parent
6fcc86b312
commit
a551f4fbfd
|
@ -7390,7 +7390,7 @@ static int cli_io_handler_tlskeys_files(struct appctx *appctx)
|
||||||
ctx->next_ref = tlskeys_list_get_next(&tlskeys_reference, &tlskeys_reference);
|
ctx->next_ref = tlskeys_list_get_next(&tlskeys_reference, &tlskeys_reference);
|
||||||
|
|
||||||
ctx->state = SHOW_KEYS_LIST;
|
ctx->state = SHOW_KEYS_LIST;
|
||||||
/* fall through */
|
__fallthrough;
|
||||||
|
|
||||||
case SHOW_KEYS_LIST:
|
case SHOW_KEYS_LIST:
|
||||||
while (ctx->next_ref) {
|
while (ctx->next_ref) {
|
||||||
|
@ -7458,7 +7458,7 @@ static int cli_io_handler_tlskeys_files(struct appctx *appctx)
|
||||||
ctx->next_ref = tlskeys_list_get_next(&ref->list, &tlskeys_reference);
|
ctx->next_ref = tlskeys_list_get_next(&ref->list, &tlskeys_reference);
|
||||||
}
|
}
|
||||||
ctx->state = SHOW_KEYS_DONE;
|
ctx->state = SHOW_KEYS_DONE;
|
||||||
/* fall through */
|
__fallthrough;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return 1;
|
return 1;
|
||||||
|
|
Loading…
Reference in New Issue