From 22440056b70b1415a184d2484c85400f824b81d9 Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Mon, 2 Mar 2015 10:31:18 +0000 Subject: remove unused variable ok reyk@ --- usr.sbin/ntpd/ntp.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'usr.sbin/ntpd/ntp.c') diff --git a/usr.sbin/ntpd/ntp.c b/usr.sbin/ntpd/ntp.c index a836f4cabfa..9837d8a4ec1 100644 --- a/usr.sbin/ntpd/ntp.c +++ b/usr.sbin/ntpd/ntp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ntp.c,v 1.129 2015/02/12 01:54:57 reyk Exp $ */ +/* $OpenBSD: ntp.c,v 1.130 2015/03/02 10:31:17 bcook Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer @@ -82,7 +82,7 @@ ntp_main(int pipe_prnt[2], int fd_ctl, struct ntpd_conf *nconf, { int a, b, nfds, i, j, idx_peers, timeout; int hotplugfd, nullfd, pipe_dns[2], idx_clients; - int ctls, boundaries; + int ctls; u_int pfd_elms = 0, idx2peer_elms = 0; u_int listener_cnt, new_cnt, sent_cnt, trial_cnt; u_int ctl_cnt; @@ -353,7 +353,6 @@ ntp_main(int pipe_prnt[2], int fd_ctl, struct ntpd_conf *nconf, } ctls = i; - boundaries = 0; TAILQ_FOREACH(cstr, &conf->constraints, entry) { if (constraint_query(cstr) == -1) continue; @@ -361,7 +360,6 @@ ntp_main(int pipe_prnt[2], int fd_ctl, struct ntpd_conf *nconf, pfd[i].events = POLLIN; i++; } - boundaries = i; now = getmonotime(); if (constraint_cnt) -- cgit v1.2.3