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:
William Lallemand 2019-09-25 21:21:57 +02:00 committed by William Lallemand
parent 4c08f12dd8
commit 13ed9faecd

View File

@ -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) &&
count && !htx_is_empty(htx)) {
blk = htx_get_head_blk(htx);
ALREADY_CHECKED(blk);
bsize = htx_get_blksz(blk);
switch (htx_get_blk_type(blk)) {