mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-23 06:41:32 +02:00
BUG/MINOR: mux-quic: fix build in release mode
Fix build when not using DEBUG_STRICT. 'ret' is reported as unused as it is only tested in a BUG_ON statement.
This commit is contained in:
parent
faafe4bf16
commit
b50f311c50
@ -889,7 +889,7 @@ static int _qc_send_qcs(struct qcs *qcs, struct list *frms,
|
|||||||
fin = !!(fin && !b_data(buf));
|
fin = !!(fin && !b_data(buf));
|
||||||
|
|
||||||
ret = qcs_build_stream_frm(qcs, out, fin, frms);
|
ret = qcs_build_stream_frm(qcs, out, fin, frms);
|
||||||
BUG_ON(ret < 0); /* TODO handle this properly */
|
if (ret < 0) { ABORT_NOW(); /* TODO handle this properly */ }
|
||||||
}
|
}
|
||||||
|
|
||||||
return xfer;
|
return xfer;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user