From 91d398cce2bf9f2cb7645cdd6852f58e3772a5df Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Mon, 14 Nov 2022 07:36:05 +0100 Subject: [PATCH] BUILD: compression: use __fallthrough in comp_http_payload() This avoids one build warning when preprocessing happens before compiling with gcc >= 7. --- src/flt_http_comp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/flt_http_comp.c b/src/flt_http_comp.c index f2f04ee62..ceda3fd5e 100644 --- a/src/flt_http_comp.c +++ b/src/flt_http_comp.c @@ -241,7 +241,7 @@ comp_http_payload(struct stream *s, struct filter *filter, struct http_msg *msg, to_forward += b_data(&trash); } st->flags &= ~COMP_STATE_PROCESSING; - /* fall through */ + __fallthrough; default: consume: