summaryrefslogtreecommitdiff
path: root/usr.sbin/ntpd/ntp.c
diff options
context:
space:
mode:
authorBrent Cook <bcook@cvs.openbsd.org>2015-03-02 10:31:18 +0000
committerBrent Cook <bcook@cvs.openbsd.org>2015-03-02 10:31:18 +0000
commit22440056b70b1415a184d2484c85400f824b81d9 (patch)
treefb6285e0a2e6366ae864ee1396a7a59dc30fd867 /usr.sbin/ntpd/ntp.c
parent7252fca22e2db2dafcf73f24775b4aa7ae5b9429 (diff)
remove unused variable
ok reyk@
Diffstat (limited to 'usr.sbin/ntpd/ntp.c')
-rw-r--r--usr.sbin/ntpd/ntp.c6
1 files changed, 2 insertions, 4 deletions
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 <henning@openbsd.org>
@@ -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)