]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: ssl: Remove goto after return dead code
authorBertrand Jacquin <bertrand@jacquin.bzh>
Sun, 13 Nov 2016 16:37:10 +0000 (16:37 +0000)
committerWilly Tarreau <w@1wt.eu>
Mon, 14 Nov 2016 17:15:20 +0000 (18:15 +0100)
This code can never be reached.

src/payload.c

index 3a534c377925257afbc87810fedab3566fe62063..a02a869660518cbd5ab7950d02ff24b728b5a02b 100644 (file)
@@ -181,9 +181,6 @@ smp_fetch_req_ssl_st_ext(const struct arg *args, struct sample *smp, const char
        smp->flags = SMP_F_VOLATILE;
        return 1;
 
-       /* server name not found */
-       goto not_ssl_hello;
-
  too_short:
        smp->flags = SMP_F_MAY_CHANGE;