projects
/
haproxy-3.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab42dc3
)
BUILD: compression: use __fallthrough in comp_http_payload()
author
Willy Tarreau
<w@1wt.eu>
Mon, 14 Nov 2022 06:36:05 +0000
(07:36 +0100)
committer
Willy Tarreau
<w@1wt.eu>
Mon, 14 Nov 2022 10:14:02 +0000
(11:14 +0100)
This avoids one build warning when preprocessing happens before compiling
with gcc >= 7.
src/flt_http_comp.c
patch
|
blob
|
history
diff --git
a/src/flt_http_comp.c
b/src/flt_http_comp.c
index
f2f04ee
..
ceda3fd
100644
(file)
--- 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: