BUILD: stream: use __fallthrough in stats_dump_full_strm_to_buffer()

This avoids 1 build warning when preprocessing happens before compiling
with gcc >= 7.
This commit is contained in:
Willy Tarreau 2022-11-14 07:09:39 +01:00
parent 14de395a30
commit 469847945c

View File

@ -3239,7 +3239,7 @@ static int stats_dump_full_strm_to_buffer(struct stconn *sc, struct stream *strm
case 0: /* main status of the stream */
ctx->uid = strm->uniq_id;
ctx->section = 1;
/* fall through */
__fallthrough;
case 1:
get_localtime(strm->logs.accept_date.tv_sec, &tm);