mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-23 06:41:32 +02: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;
|
char *progname = global.log_tag.area;
|
||||||
int err_code = 0;
|
int err_code = 0;
|
||||||
int ret = 0;
|
|
||||||
struct proxy *px;
|
struct proxy *px;
|
||||||
struct post_check_fct *pcf;
|
struct post_check_fct *pcf;
|
||||||
struct pre_check_fct *prcf;
|
struct pre_check_fct *prcf;
|
||||||
struct cfgfile *cfg, *cfg_tmp;
|
struct cfgfile *cfg, *cfg_tmp;
|
||||||
int ideal_maxconn;
|
int ret, ideal_maxconn;
|
||||||
const char *cc, *cflags, *opts;
|
const char *cc, *cflags, *opts;
|
||||||
|
|
||||||
#ifdef USE_OPENSSL
|
#ifdef USE_OPENSSL
|
||||||
|
Loading…
x
Reference in New Issue
Block a user