summaryrefslogtreecommitdiff
path: root/usr.bin/hexdump/parse.c
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2007-03-20 03:50:40 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2007-03-20 03:50:40 +0000
commit9811dd20491d71b86c6029003d05fb8022093320 (patch)
treeb18ba95828e2e0cefe707d3ec9905bd2c4a5ca9c /usr.bin/hexdump/parse.c
parent3062cd8b277b2f91c96ada9b87815608c0fa2853 (diff)
remove some bogus *p tests from charles longeau
ok deraadt millert
Diffstat (limited to 'usr.bin/hexdump/parse.c')
-rw-r--r--usr.bin/hexdump/parse.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/hexdump/parse.c b/usr.bin/hexdump/parse.c
index 20b65b52908..e64c78cd56f 100644
--- a/usr.bin/hexdump/parse.c
+++ b/usr.bin/hexdump/parse.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.c,v 1.15 2006/08/23 03:13:09 ray Exp $ */
+/* $OpenBSD: parse.c,v 1.16 2007/03/20 03:50:39 tedu Exp $ */
/* $NetBSD: parse.c,v 1.12 2001/12/07 13:37:39 bjh21 Exp $ */
/*
@@ -32,7 +32,7 @@
#ifndef lint
/*static char sccsid[] = "from: @(#)parse.c 5.6 (Berkeley) 3/9/91";*/
-static char rcsid[] = "$OpenBSD: parse.c,v 1.15 2006/08/23 03:13:09 ray Exp $";
+static char rcsid[] = "$OpenBSD: parse.c,v 1.16 2007/03/20 03:50:39 tedu Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -72,7 +72,7 @@ addfile(char *name)
lbuf[len] = '\0';
buf = lbuf;
}
- for (p = buf; *p && isspace((unsigned char)*p); ++p);
+ for (p = buf; isspace((unsigned char)*p); ++p);
if (!*p || *p == '#')
continue;
add(p);