summaryrefslogtreecommitdiff
path: root/usr.sbin/cron/crontab.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2011-04-04 15:17:53 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2011-04-04 15:17:53 +0000
commit2a958d7f2611ba83afe9196a42618b196afff8b8 (patch)
tree04e6ec635a1381ca0c8d0de7b3d1a802ffbe7ef3 /usr.sbin/cron/crontab.c
parent3830fcf862d1f0cdb4650778de5551d1bade62ad (diff)
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];