diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2015-10-29 21:24:10 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2015-10-29 21:24:10 +0000 |
commit | 9916315845fb070ffe7d0bd5bb9e82055e343aa3 (patch) | |
tree | 92cf826e5672d17a5aa95b87dee72447a21ce09e | |
parent | e055efe28a9c2594e47e61418a3993dbe88d53ae (diff) |
remove unused variables
-rw-r--r-- | usr.sbin/cron/cron.c | 3 | ||||
-rw-r--r-- | usr.sbin/cron/env.c | 4 |
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) |