diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1998-07-02 21:00:06 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1998-07-02 21:00:06 +0000 |
commit | 764d69e7c42f40bfb85d70cf86898a8a95a90f6d (patch) | |
tree | e943d0d0e826cf69c4fefc2053e17e92a4884ba3 | |
parent | f69416f4d542258a5936e3f04bb3d697cc348468 (diff) |
back out last patch; it causes incorrect behavior
-rw-r--r-- | usr.bin/make/suff.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/usr.bin/make/suff.c b/usr.bin/make/suff.c index e0a878781f7..eed277808d8 100644 --- a/usr.bin/make/suff.c +++ b/usr.bin/make/suff.c @@ -1,4 +1,4 @@ -/* $OpenBSD: suff.c,v 1.6 1998/07/02 20:47:28 millert Exp $ */ +/* $OpenBSD: suff.c,v 1.7 1998/07/02 21:00:05 millert Exp $ */ /* $NetBSD: suff.c,v 1.13 1996/11/06 17:59:25 christos Exp $ */ /* @@ -43,7 +43,7 @@ #if 0 static char sccsid[] = "@(#)suff.c 8.4 (Berkeley) 3/21/94"; #else -static char rcsid[] = "$OpenBSD: suff.c,v 1.6 1998/07/02 20:47:28 millert Exp $"; +static char rcsid[] = "$OpenBSD: suff.c,v 1.7 1998/07/02 21:00:05 millert Exp $"; #endif #endif /* not lint */ @@ -633,12 +633,6 @@ Suff_AddTransform (line) gn->type = OP_TRANSFORM; (void)SuffParseTransform(line, &s, &t); - /* - * If there is nothing to transform to, *t->name will be NUL. - * The rest is paranoia. - */ - if (!s->name || !t->name || !*s->name || !*t->name) - return(NULL); /* * link the two together in the proper relationship and order |