From 2daf38b0aa4b242df7ac7d53fcf69088f63db4da Mon Sep 17 00:00:00 2001 From: Sebastian Herbszt Date: Sat, 20 Dec 2014 20:53:57 +0100 Subject: check_ntp_time: remove unused variables Remove unused variables. Signed-off-by: Sebastian Herbszt --- plugins/check_ntp_time.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/plugins/check_ntp_time.c b/plugins/check_ntp_time.c index e344f8b7..f2762ef5 100644 --- a/plugins/check_ntp_time.c +++ b/plugins/check_ntp_time.c @@ -244,7 +244,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