From: Bertrand Jacquin Date: Sun, 13 Nov 2016 16:37:10 +0000 (+0000) Subject: CLEANUP: ssl: Remove goto after return dead code X-Git-Tag: v1.7.0~89 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5a8fc2d45f447f71da233acdb7809633a953dc48;p=thirdparty%2Fhaproxy.git CLEANUP: ssl: Remove goto after return dead code This code can never be reached. --- diff --git a/src/payload.c b/src/payload.c index 3a534c3779..a02a869660 100644 --- a/src/payload.c +++ b/src/payload.c @@ -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;