summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2002-05-09 22:14:37 +0000
committermillert <millert@openbsd.org>2002-05-09 22:14:37 +0000
commit03348e14897fa876f092045e81ff4f57d9e2f682 (patch)
tree848f59fb54cedccf23b0062792230e0668d82b44
parentallowed() is only called once so there is no need to use static (diff)
downloadwireguard-openbsd-03348e14897fa876f092045e81ff4f57d9e2f682.tar.xz
wireguard-openbsd-03348e14897fa876f092045e81ff4f57d9e2f682.zip
nuke unused variable
-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 22a5e6dc716..ecbe6caa143 100644
--- a/usr.sbin/cron/crontab.c
+++ b/usr.sbin/cron/crontab.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: crontab.c,v 1.29 2002/05/09 21:22:01 millert Exp $ */
+/* $OpenBSD: crontab.c,v 1.30 2002/05/09 22:14:37 millert Exp $ */
/* Copyright 1988,1990,1993,1994 by Paul Vixie
* All rights reserved
*/
@@ -21,7 +21,7 @@
*/
#if !defined(lint) && !defined(LINT)
-static char rcsid[] = "$OpenBSD: crontab.c,v 1.29 2002/05/09 21:22:01 millert Exp $";
+static char rcsid[] = "$OpenBSD: crontab.c,v 1.30 2002/05/09 22:14:37 millert Exp $";
#endif
/* crontab - install and manage per-user crontab files
@@ -645,7 +645,6 @@ static void
poke_daemon() {
int sock, flags;
struct sockaddr_un sun;
- FILE *fp;
if (utime(SPOOL_DIR, NULL) < OK) {
fprintf(stderr, "crontab: can't update mtime on spooldir\n");