summaryrefslogtreecommitdiff
path: root/usr.bin/make
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2007-11-03 11:45:53 +0000
committerMarc Espie <espie@cvs.openbsd.org>2007-11-03 11:45:53 +0000
commit08287660670666391e565fab9ef7b9c196117f4c (patch)
tree0966a3167d68327ae1bdba6e367f6dab9de24eee /usr.bin/make
parentdd1faad1394d7a5aacdef8215f7833ca9e8c5b65 (diff)
zap dead code
Diffstat (limited to 'usr.bin/make')
-rw-r--r--usr.bin/make/make.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/usr.bin/make/make.c b/usr.bin/make/make.c
index fee0fa8d37d..3bbe92b6a9e 100644
--- a/usr.bin/make/make.c
+++ b/usr.bin/make/make.c
@@ -1,5 +1,5 @@
/* $OpenPackages$ */
-/* $OpenBSD: make.c,v 1.44 2007/11/03 10:39:22 espie Exp $ */
+/* $OpenBSD: make.c,v 1.45 2007/11/03 11:45:52 espie Exp $ */
/* $NetBSD: make.c,v 1.10 1996/11/06 17:59:15 christos Exp $ */
/*
@@ -215,15 +215,11 @@ Make_Update(GNode *cgn) /* the child node */
/* Set the .IMPSRC variables for all the implied parents
* of this node. */
- {
- char *cpref = Varq_Value(PREFIX_INDEX, cgn);
-
for (ln = Lst_First(&cgn->iParents); ln != NULL; ln = Lst_Adv(ln)) {
pgn = (GNode *)Lst_Datum(ln);
if (pgn->make)
Varq_Set(IMPSRC_INDEX, cname, pgn);
}
- }
}