From a7d7158b05a692a86a3b45fe3b07c3aa291a7b11 Mon Sep 17 00:00:00 2001 From: Sylvain Rochet Date: Sat, 9 Jun 2012 15:58:51 +0200 Subject: [PATCH] removed useless error_count global variable from ppp.c --- src/netif/ppp/ppp.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/netif/ppp/ppp.c b/src/netif/ppp/ppp.c index 4ec39fc5..bb7a28f0 100644 --- a/src/netif/ppp/ppp.c +++ b/src/netif/ppp/ppp.c @@ -150,7 +150,6 @@ */ /* FIXME: global variables per PPP session */ /* FIXME: clean global variables */ -int error_count; /* # of times error() has been called */ int unsuccess; /* # unsuccessful connection attempts */ int listen_time; /* time to listen first (ms) */ int status; /* exit status for pppd */ @@ -296,7 +295,6 @@ int ppp_init(void) { int i; struct protent *protp; - error_count = 0; unsuccess = 0; listen_time = 0; status = EXIT_OK;