mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-02-20 20:57:00 +00:00
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:
parent
da82f08055
commit
aae2ff7691
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user