diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2007-03-20 03:40:07 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2007-03-20 03:40:07 +0000 |
commit | 357895d5616c8ffdfbdce99ee079c44b3b55aaba (patch) | |
tree | 43f0d33cbc721fa6ee6f40769fc845900f1d902d /lib/libcurses/tinfo/comp_hash.c | |
parent | 94bab411a276ca02ad0192636b48b1d85de9573b (diff) |
remove some bogus *p tests from charles longeau
ok deraadt millert
Diffstat (limited to 'lib/libcurses/tinfo/comp_hash.c')
-rw-r--r-- | lib/libcurses/tinfo/comp_hash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcurses/tinfo/comp_hash.c b/lib/libcurses/tinfo/comp_hash.c index 172c3fc946a..a4b10f3c546 100644 --- a/lib/libcurses/tinfo/comp_hash.c +++ b/lib/libcurses/tinfo/comp_hash.c @@ -1,4 +1,4 @@ -/* $OpenBSD: comp_hash.c,v 1.6 2003/03/18 16:55:54 millert Exp $ */ +/* $OpenBSD: comp_hash.c,v 1.7 2007/03/20 03:40:06 tedu Exp $ */ /**************************************************************************** * Copyright (c) 1998 Free Software Foundation, Inc. * @@ -216,7 +216,7 @@ static char **parse_columns(char *buffer) col++; if (mark == '\0') break; - while (*++s && isspace(*s)) + while (isspace(*++s)) /*EMPTY*/; buffer = s; } else |