summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/cron/cron.c3
-rw-r--r--usr.sbin/cron/env.c4
2 files changed, 3 insertions, 4 deletions
diff --git a/usr.sbin/cron/cron.c b/usr.sbin/cron/cron.c
index 2b3a26549f0..1b14dbba091 100644
--- a/usr.sbin/cron/cron.c
+++ b/usr.sbin/cron/cron.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cron.c,v 1.58 2015/10/28 20:17:31 deraadt Exp $ */
+/* $OpenBSD: cron.c,v 1.59 2015/10/29 21:24:09 millert Exp $ */
/* Copyright 1988,1990,1993,1994 by Paul Vixie
* Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC")
@@ -54,7 +54,6 @@ main(int argc, char *argv[])
{
struct sigaction sact;
sigset_t blocked, omask;
- int fd;
ProgramName = argv[0];
diff --git a/usr.sbin/cron/env.c b/usr.sbin/cron/env.c
index 4ab8485b2e0..5f41c1d6b96 100644
--- a/usr.sbin/cron/env.c
+++ b/usr.sbin/cron/env.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: env.c,v 1.30 2015/10/29 21:19:09 millert Exp $ */
+/* $OpenBSD: env.c,v 1.31 2015/10/29 21:24:09 millert Exp $ */
/* Copyright 1988,1990,1993,1994 by Paul Vixie
* Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC")
@@ -100,7 +100,7 @@ env_get(char *name, char **envp)
char **
env_set(char **envp, char *envstr)
{
- size_t count, len;
+ size_t count;
char **p, *envcopy;
if ((envcopy = strdup(envstr)) == NULL)