mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-21 13:51:26 +02:00
BUILD: h1_htx: use __fallthrough in h1_parse_chunk()
This avoids one build warning when preprocessing happens before compiling with gcc >= 7.
This commit is contained in:
parent
c5bc4ad24d
commit
779aa693d9
@ -520,7 +520,7 @@ static size_t h1_parse_chunk(struct h1m *h1m, struct htx **dsthtx,
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
h1m->state = H1_MSG_CHUNK_CRLF;
|
h1m->state = H1_MSG_CHUNK_CRLF;
|
||||||
/*fall through */
|
__fallthrough;
|
||||||
|
|
||||||
case H1_MSG_CHUNK_CRLF:
|
case H1_MSG_CHUNK_CRLF:
|
||||||
ret = h1_skip_chunk_crlf(srcbuf, ofs, b_data(srcbuf));
|
ret = h1_skip_chunk_crlf(srcbuf, ofs, b_data(srcbuf));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user