mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-09 08:37:04 +02:00
BUG/MINOR: mux-fcgi: silence a gcc warning about null dereference
Silence an impossible warning that gcc reports about a NULL dereference.
This commit is contained in:
parent
4c08f12dd8
commit
13ed9faecd
@ -3248,6 +3248,7 @@ static size_t fcgi_snd_buf(struct conn_stream *cs, struct buffer *buf, size_t co
|
|||||||
while (fstrm->state < FCGI_SS_HLOC && !(fconn->flags & FCGI_SF_BLK_ANY) &&
|
while (fstrm->state < FCGI_SS_HLOC && !(fconn->flags & FCGI_SF_BLK_ANY) &&
|
||||||
count && !htx_is_empty(htx)) {
|
count && !htx_is_empty(htx)) {
|
||||||
blk = htx_get_head_blk(htx);
|
blk = htx_get_head_blk(htx);
|
||||||
|
ALREADY_CHECKED(blk);
|
||||||
bsize = htx_get_blksz(blk);
|
bsize = htx_get_blksz(blk);
|
||||||
|
|
||||||
switch (htx_get_blk_type(blk)) {
|
switch (htx_get_blk_type(blk)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user