From: Willy Tarreau Date: Mon, 14 Nov 2022 06:36:05 +0000 (+0100) Subject: BUILD: compression: use __fallthrough in comp_http_payload() X-Git-Tag: v2.7-dev9~77 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91d398cce2bf9f2cb7645cdd6852f58e3772a5df;p=thirdparty%2Fhaproxy.git BUILD: compression: use __fallthrough in comp_http_payload() This avoids one build warning when preprocessing happens before compiling with gcc >= 7. --- diff --git a/src/flt_http_comp.c b/src/flt_http_comp.c index f2f04ee62f..ceda3fd5e4 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: