summaryrefslogtreecommitdiff
path: root/usr.bin/make/suff.c
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>1999-12-06 22:28:45 +0000
committerMarc Espie <espie@cvs.openbsd.org>1999-12-06 22:28:45 +0000
commit8ad9f5a38304f6f40fb7cc771483636d4dcbb727 (patch)
tree7136d16b36ccc997b51e9c3a966231f04205b0bd /usr.bin/make/suff.c
parent7bc316c2e1da70c08f3d2dae2cde9c50dc3bc7f7 (diff)
Extra parameter no longer needed, ditch.
Diffstat (limited to 'usr.bin/make/suff.c')
-rw-r--r--usr.bin/make/suff.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/usr.bin/make/suff.c b/usr.bin/make/suff.c
index cba847e3103..c2a070833e5 100644
--- a/usr.bin/make/suff.c
+++ b/usr.bin/make/suff.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: suff.c,v 1.14 1999/10/05 22:06:24 espie Exp $ */
+/* $OpenBSD: suff.c,v 1.15 1999/12/06 22:28:44 espie 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.14 1999/10/05 22:06:24 espie Exp $";
+static char rcsid[] = "$OpenBSD: suff.c,v 1.15 1999/12/06 22:28:44 espie Exp $";
#endif
#endif /* not lint */
@@ -1732,9 +1732,7 @@ SuffFindArchiveDeps(gn, slst)
* Copy in the variables from the member node to this one.
*/
for (i = (sizeof(copy)/sizeof(copy[0]))-1; i >= 0; i--) {
- char *p1;
- Var_Set(copy[i], Var_Value(copy[i], mem, &p1), gn);
- efree(p1);
+ Var_Set(copy[i], Var_Value(copy[i], mem), gn);
}