mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-02-22 03:40:48 +00:00
removed useless error_count global variable from ppp.c
This commit is contained in:
parent
6b8c78bacc
commit
a7d7158b05
@ -150,7 +150,6 @@
|
|||||||
*/
|
*/
|
||||||
/* FIXME: global variables per PPP session */
|
/* FIXME: global variables per PPP session */
|
||||||
/* FIXME: clean global variables */
|
/* FIXME: clean global variables */
|
||||||
int error_count; /* # of times error() has been called */
|
|
||||||
int unsuccess; /* # unsuccessful connection attempts */
|
int unsuccess; /* # unsuccessful connection attempts */
|
||||||
int listen_time; /* time to listen first (ms) */
|
int listen_time; /* time to listen first (ms) */
|
||||||
int status; /* exit status for pppd */
|
int status; /* exit status for pppd */
|
||||||
@ -296,7 +295,6 @@ int ppp_init(void) {
|
|||||||
int i;
|
int i;
|
||||||
struct protent *protp;
|
struct protent *protp;
|
||||||
|
|
||||||
error_count = 0;
|
|
||||||
unsuccess = 0;
|
unsuccess = 0;
|
||||||
listen_time = 0;
|
listen_time = 0;
|
||||||
status = EXIT_OK;
|
status = EXIT_OK;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user