summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbcook <bcook@openbsd.org>2015-03-02 10:31:17 +0000
committerbcook <bcook@openbsd.org>2015-03-02 10:31:17 +0000
commitf66b74be63d0d28c6d10dd6ddce900bf042e9fb2 (patch)
tree8c31319108457c42a8b416f9711f0aac8d061e84
parentuse correct formatter (int, because of type promotion after operations) (diff)
downloadwireguard-openbsd-f66b74be63d0d28c6d10dd6ddce900bf042e9fb2.tar.xz
wireguard-openbsd-f66b74be63d0d28c6d10dd6ddce900bf042e9fb2.zip
remove unused variable
ok reyk@
-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)