]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: h3: Unreachable target in h3_uqs_init()
authorFrédéric Lécaille <flecaille@haproxy.com>
Wed, 2 Feb 2022 14:21:00 +0000 (15:21 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 14 Feb 2022 14:20:54 +0000 (15:20 +0100)
This should fix Coverity CID 375045 in GH #1536 which detects a no more
use "err" target in h3_uqs_init()

src/h3.c

index d72f082e2d9860a86d5beb72e686d6f0954022fa..2e4a64c8586cafb8422a4243c473dc8ff6e7c624 100644 (file)
--- a/src/h3.c
+++ b/src/h3.c
@@ -770,7 +770,6 @@ static int h3_uqs_init(struct h3_uqs *h3_uqs, struct h3 *h3,
        h3_uqs->wait_event.tasklet->context = h3_uqs;
        return 1;
 
- err:
        tasklet_free(h3_uqs->wait_event.tasklet);
        return 0;
 }