diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2014-03-16 18:38:31 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2014-03-16 18:38:31 +0000 |
commit | ae716892e1b0b04c4d372d360c51d9aa771f26bf (patch) | |
tree | 096e09e26195e233e96229724a6df4ef8689044d /bin | |
parent | d8ea0537d04586cf528af2e15cdbcbf0a122d6e6 (diff) |
lint is dead (long live the lint!), so stop using it as a cpp conditional
(namespace pollution!) or talking about its opinion on code.
ok krw@
Diffstat (limited to 'bin')
-rw-r--r-- | bin/chio/chio.c | 7 | ||||
-rw-r--r-- | bin/chmod/chmod.c | 6 |
2 files changed, 2 insertions, 11 deletions
diff --git a/bin/chio/chio.c b/bin/chio/chio.c index 22132c431a6..a0a7c57b693 100644 --- a/bin/chio/chio.c +++ b/bin/chio/chio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: chio.c,v 1.24 2012/12/04 02:24:46 deraadt Exp $ */ +/* $OpenBSD: chio.c,v 1.25 2014/03/16 18:38:30 guenther Exp $ */ /* $NetBSD: chio.c,v 1.1.1.1 1996/04/03 00:34:38 thorpej Exp $ */ /* @@ -484,11 +484,6 @@ do_status(char *cname, int argc, char *argv[]) char *description; size_t count; -#ifdef lint - count = 0; - description = NULL; -#endif - optreset = 1; optind = 1; while ((c = getopt(argc, argv, "vVa")) != -1) { diff --git a/bin/chmod/chmod.c b/bin/chmod/chmod.c index df30e703c9f..64a9daf8baf 100644 --- a/bin/chmod/chmod.c +++ b/bin/chmod/chmod.c @@ -1,4 +1,4 @@ -/* $OpenBSD: chmod.c,v 1.28 2012/12/04 02:24:46 deraadt Exp $ */ +/* $OpenBSD: chmod.c,v 1.29 2014/03/16 18:38:30 guenther Exp $ */ /* $NetBSD: chmod.c,v 1.12 1995/03/21 09:02:09 cgd Exp $ */ /* @@ -66,10 +66,6 @@ main(int argc, char *argv[]) gid_t gid; u_int32_t fclear, fset; char *ep, *mode, *cp, *flags; -#ifdef lint - set = NULL; - oct = omode = 0; -#endif setlocale(LC_ALL, ""); |