From 357895d5616c8ffdfbdce99ee079c44b3b55aaba Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Tue, 20 Mar 2007 03:40:07 +0000 Subject: remove some bogus *p tests from charles longeau ok deraadt millert --- lib/libcurses/tinfo/comp_hash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/libcurses/tinfo/comp_hash.c') 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 -- cgit v1.2.3