CLEANUP: mux-quic: remove dead err label in qcc_build_frms()

STREAM frames emission in qcc_build_frms() has been splitted from
RESET_STREAM/STOP_SENDING into qcc_emit_rs_ss(). Now, the former cannot
fail, as such err label can be removed as it is unreachable.

This should be backported up to 3.1.

This should fix github issue #2824.
This commit is contained in:
Amaury Denoyelle 2024-12-19 16:34:18 +01:00
parent 7edb2ffae7
commit 4490df57a6

View File

@ -2443,11 +2443,6 @@ static int qcc_build_frms(struct qcc *qcc, struct list *qcs_failed)
TRACE_LEAVE(QMUX_EV_QCC_SEND, qcc->conn);
return total;
err:
qcc_clear_frms(qcc);
TRACE_DEVEL("leaving on error", QMUX_EV_QCC_SEND, qcc->conn);
return 0;
}
/* Proceed to sending. Loop through all available streams for the <qcc>