mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-08 01:33:44 +02:00
CLEANUP: fcgi-app; Remove useless assignment to NULL
When the fcgi configuration is checked and fcgi rules are created, a useless assignment to NULL is reported by Covertiy. Let's remove it. This patch should fix the coverity report #2161.
This commit is contained in:
@@ -270,7 +270,6 @@ static int fcgi_flt_check(struct proxy *px, struct flt_conf *fconf)
|
||||
LIST_APPEND(&fcgi_conf->param_rules, &rule->list);
|
||||
else /* FCGI_RULE_PASS_HDR/FCGI_RULE_HIDE_HDR */
|
||||
LIST_APPEND(&fcgi_conf->hdr_rules, &rule->list);
|
||||
rule = NULL;
|
||||
}
|
||||
return 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user