diff options
author | Christopher Faulet <cfaulet@haproxy.com> | 2023-05-17 09:40:14 +0200 |
---|---|---|
committer | Christopher Faulet <cfaulet@haproxy.com> | 2023-05-17 09:42:37 +0200 |
commit | c8a7bb16b7f0511bfdbf1ef3b03e369d518e8fac (patch) | |
tree | 2986357e944998acf729bbfffd91e13e29dbb3f1 | |
parent | c7b9308f20909e4eca2257dd2134f537e89cffec (diff) | |
download | haproxy-c8a7bb16b7f0511bfdbf1ef3b03e369d518e8fac.tar.gz |
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.
-rw-r--r-- | src/fcgi-app.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/fcgi-app.c b/src/fcgi-app.c index e0f3232f9..16c3c81bb 100644 --- a/src/fcgi-app.c +++ b/src/fcgi-app.c @@ -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; |