mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-22 06:11:32 +02:00
MINOR: mux-quic: fix gcc11 warning
Fix minor warnings about an unused variable. This addresses in part github issue #1445.
This commit is contained in:
parent
3cae4049b0
commit
7bb54f9906
@ -1347,18 +1347,20 @@ static int qc_send(struct qcc *qcc)
|
|||||||
static struct task *qc_io_cb(struct task *t, void *ctx, unsigned int status)
|
static struct task *qc_io_cb(struct task *t, void *ctx, unsigned int status)
|
||||||
{
|
{
|
||||||
struct qcc *qcc = ctx;
|
struct qcc *qcc = ctx;
|
||||||
int ret = 0;
|
//int ret = 0;
|
||||||
|
|
||||||
|
|
||||||
if (!(qcc->wait_event.events & SUB_RETRY_SEND))
|
if (!(qcc->wait_event.events & SUB_RETRY_SEND))
|
||||||
ret = qc_send(qcc);
|
//ret = qc_send(qcc);
|
||||||
|
qc_send(qcc);
|
||||||
#if 0
|
#if 0
|
||||||
if (!(qcc->wait_event.events & SUB_RETRY_RECV))
|
if (!(qcc->wait_event.events & SUB_RETRY_RECV))
|
||||||
ret |= qc_recv(qcc);
|
ret |= qc_recv(qcc);
|
||||||
#endif
|
#endif
|
||||||
// TODO redefine the proper condition here
|
// TODO redefine the proper condition here
|
||||||
//if (ret || qcc->rx.inmux)
|
//if (ret || qcc->rx.inmux)
|
||||||
ret = qc_process(qcc);
|
//ret = qc_process(qcc);
|
||||||
|
qc_process(qcc);
|
||||||
|
|
||||||
leave:
|
leave:
|
||||||
TRACE_LEAVE(QC_EV_QCC_WAKE);
|
TRACE_LEAVE(QC_EV_QCC_WAKE);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user