]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: h3: remove unused return value on decode_qcs
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 16 Feb 2022 13:35:10 +0000 (14:35 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 16 Feb 2022 13:37:56 +0000 (14:37 +0100)
This should fix 1470806 coverity report from github issue #1550.

src/h3.c

index 7cecb5de7f76e0e1abf62901c8f4847469b98f73..5f2757ff8bbefb627d545945e100b969fa95cc0b 100644 (file)
--- a/src/h3.c
+++ b/src/h3.c
@@ -284,9 +284,6 @@ static int h3_decode_qcs(struct qcs *qcs, int fin, void *ctx)
        }
 
        return 0;
-
- fail:
-       return -1;
 }
 
 /* Parse a SETTINGS frame which must not be truncated with <flen> as length from