CLEANUP: fcgi-app: Remove useless test on fcgi_conf pointer

fcgi_conf was already tested after allocation. No need to test it again.
This patch fixes the isssue #285.
This commit is contained in:
Christopher Faulet 2019-09-18 11:16:02 +02:00
parent a99db937c5
commit d432b3e5c8

View File

@ -620,8 +620,6 @@ static int proxy_parse_use_fcgi_app(char **args, int section, struct proxy *curp
fcgi_conf->name = strdup(args[1]);
LIST_INIT(&fcgi_conf->param_rules);
LIST_INIT(&fcgi_conf->hdr_rules);
if (!fcgi_conf)
goto err;
/* Register the filter */
fconf = calloc(1, sizeof(*fconf));