]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: server: remove unused err section in server_finalize_init
authorWilliam Dauchy <w.dauchy@criteo.com>
Wed, 8 Jan 2020 20:29:53 +0000 (21:29 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 9 Jan 2020 04:54:48 +0000 (05:54 +0100)
Since commit 980855bd953c ("BUG/MEDIUM: server: initialize the orphaned
conns lists and tasks at the end"), we no longer use err section.

This should fix github issue #438

Signed-off-by: William Dauchy <w.dauchy@criteo.com>
src/server.c

index 6212a420ed534f9c7e8b10038256ee9f811454f2..14ff716a65c5856c4bd8e4a24fd912875abb6f99 100644 (file)
@@ -2053,8 +2053,6 @@ static int server_finalize_init(const char *file, int linenum, char **args, int
        srv_lb_commit_status(srv);
 
        return 0;
-err:
-       return ERR_ALERT | ERR_FATAL;
 }
 
 /*