removed useless error_count global variable

This commit is contained in:
Sylvain Rochet 2012-06-09 15:42:57 +02:00
parent 42f672d85d
commit 772cac7946
2 changed files with 3 additions and 5 deletions

View File

@ -266,18 +266,14 @@ extern bool explicit_remote;/* remote_name specified with remotename opt */
/* FIXME: make it a compile time option */
extern int idle_time_limit;/* Shut down link if idle for this long */
extern int phase; /* Current state of link - see values below */
extern int error_count; /* # of times error() has been called */
extern int unsuccess; /* # unsuccessful connection attempts */
extern int listen_time; /* time to listen first (ms) */
extern int status; /* exit status for pppd */
extern int need_holdoff; /* Need holdoff period after link terminates */
extern u_char outpacket_buf[]; /* Buffer for outgoing packets */
/* FIXME: add more HAVE_MULTILINK */
extern bool multilink; /* enable multilink operation */
#ifdef HAVE_MULTILINK
extern bool multilink; /* enable multilink operation */
extern bool doing_multilink;
extern bool multilink_master;
extern bool bundle_eof;

View File

@ -695,7 +695,9 @@ error (char *fmt, ...)
va_start(pvar, fmt);
logit(LOG_ERR, fmt, pvar);
va_end(pvar);
#if 0 /* UNUSED */
++error_count;
#endif /* UNUSED */
}
/*