summaryrefslogtreecommitdiffstats
path: root/usr.sbin/cron/crontab.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2011-04-04 15:17:52 +0000
committermillert <millert@openbsd.org>2011-04-04 15:17:52 +0000
commit5a2539d2bc1490e40b5ef6e97b13a1c55f1cf1ba (patch)
tree293da91363cb364d820d2870958f4aa6b0470742 /usr.sbin/cron/crontab.c
parentno more COMPAT_O47; (diff)
downloadwireguard-openbsd-5a2539d2bc1490e40b5ef6e97b13a1c55f1cf1ba.tar.xz
wireguard-openbsd-5a2539d2bc1490e40b5ef6e97b13a1c55f1cf1ba.zip
Remove unused variables; from Michael W. Bombardieri
Diffstat (limited to 'usr.sbin/cron/crontab.c')
-rw-r--r--usr.sbin/cron/crontab.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/cron/crontab.c b/usr.sbin/cron/crontab.c
index c4f7e29a474..450e99714e5 100644
--- a/usr.sbin/cron/crontab.c
+++ b/usr.sbin/cron/crontab.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: crontab.c,v 1.60 2011/02/11 07:14:49 guenther Exp $ */
+/* $OpenBSD: crontab.c,v 1.61 2011/04/04 15:17:52 millert Exp $ */
/* Copyright 1988,1990,1993,1994 by Paul Vixie
* All rights reserved
@@ -232,7 +232,6 @@ static void
list_cmd(void) {
char n[MAX_FNAME];
FILE *f;
- int ch;
log_it(RealUser, Pid, "LIST", User);
if (snprintf(n, sizeof n, "%s/%s", SPOOL_DIR, User) >= sizeof(n)) {
@@ -285,7 +284,7 @@ edit_cmd(void) {
char n[MAX_FNAME], q[MAX_TEMPSTR];
const char *tmpdir;
FILE *f;
- int ch, t;
+ int t;
struct stat statbuf, xstatbuf;
struct timespec mtimespec;
struct timeval tv[2];