From fec3e01f89715987da6c03c7af9fa6626f773c01 Mon Sep 17 00:00:00 2001 From: Sebastian Herbszt Date: Sat, 20 Dec 2014 20:56:07 +0100 Subject: check_ntp: remove unused variables Remove unused variables. Signed-off-by: Sebastian Herbszt --- plugins/check_ntp.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/plugins/check_ntp.c b/plugins/check_ntp.c index a7d278de..74501711 100644 --- a/plugins/check_ntp.c +++ b/plugins/check_ntp.c @@ -297,7 +297,7 @@ void setup_request(ntp_message *p){ * this is done by filtering servers based on stratum, dispersion, and * finally round-trip delay. */ int best_offset_server(const ntp_server_results *slist, int nservers){ - int i=0, cserver=0, best_server=-1; + int cserver=0, best_server=-1; /* for each server */ for(cserver=0; cserver