]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: proto_http: remove useless initialisation
authorThierry FOURNIER <tfournier@arpalert.org>
Fri, 31 Jul 2015 06:42:38 +0000 (08:42 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 11 Aug 2015 11:44:51 +0000 (13:44 +0200)
This initialisation of the opaque array is useless.

src/proto_http.c

index 4cb948364a894ce5a20e22191b5b3a089453840e..d5b2c69b6d06c8271a87898fe2a287a1be21dc42 100644 (file)
@@ -12618,7 +12618,6 @@ int parse_http_res_capture(const char **args, int *orig_arg, struct proxy *px, s
        }
        cur_arg++;
 
-       LIST_INIT((struct list *)&rule->arg.act.p[0]);
        proxy->conf.args.ctx = ARGC_CAP;
 
        rule->action       = HTTP_RES_ACT_CUSTOM_CONT;