]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: mux-quic: fix uninitialized return on qc_send
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 21 Feb 2022 17:45:22 +0000 (18:45 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 21 Feb 2022 17:46:58 +0000 (18:46 +0100)
This should fix the github issue #1562.

src/mux_quic.c

index c01fcbfa7939dbca9b584fe5460a0eecbb0c2233..15c8ebc033f144b6c05d577c13fe4306cba175ec 100644 (file)
@@ -314,7 +314,7 @@ static int qc_send(struct qcc *qcc)
 {
        struct eb64_node *node;
        int xprt_wake = 0;
-       int ret;
+       int ret = 0;
 
        fprintf(stderr, "%s\n", __func__);