From 2a958d7f2611ba83afe9196a42618b196afff8b8 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Mon, 4 Apr 2011 15:17:53 +0000 Subject: Remove unused variables; from Michael W. Bombardieri --- usr.sbin/cron/crontab.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'usr.sbin/cron/crontab.c') 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]; -- cgit v1.2.3