MINOR: startup: fix unused value reported by coverity

Unused 0 is assigned to ret, as it's rewritten by error code of read_cfg().
This issue was reported by coverity.
This commit is contained in:
Valentine Krasnobaeva 2024-08-08 18:54:28 +02:00 committed by Willy Tarreau
parent da82f08055
commit aae2ff7691

View File

@ -1976,12 +1976,11 @@ static void init(int argc, char **argv)
{
char *progname = global.log_tag.area;
int err_code = 0;
int ret = 0;
struct proxy *px;
struct post_check_fct *pcf;
struct pre_check_fct *prcf;
struct cfgfile *cfg, *cfg_tmp;
int ideal_maxconn;
int ret, ideal_maxconn;
const char *cc, *cflags, *opts;
#ifdef USE_OPENSSL