diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2011-11-03 20:55:23 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2011-11-03 20:55:23 +0000 |
commit | fa6fc9e39959c6b58e4f0cfddc0c31c2afbf4ec4 (patch) | |
tree | cf64281e97a25519d679ae029474dc3c48e93876 /usr.bin/make | |
parent | 4890c832ed623de70765f2f59dcd9e30d1d71b27 (diff) |
Garbage collect an unused variable.
Found by Michael W. Bombardieri <mwb at bom dot nom dot co> using lint.
ok deraadt@
Diffstat (limited to 'usr.bin/make')
-rw-r--r-- | usr.bin/make/make.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.bin/make/make.c b/usr.bin/make/make.c index 9bb1c84223e..91501697ede 100644 --- a/usr.bin/make/make.c +++ b/usr.bin/make/make.c @@ -1,4 +1,4 @@ -/* $OpenBSD: make.c,v 1.61 2010/07/19 19:46:44 espie Exp $ */ +/* $OpenBSD: make.c,v 1.62 2011/11/03 20:55:22 schwarze Exp $ */ /* $NetBSD: make.c,v 1.10 1996/11/06 17:59:15 christos Exp $ */ /* @@ -219,11 +219,8 @@ void Make_Update(GNode *cgn) /* the child node */ { GNode *pgn; /* the parent node */ - char *cname; /* the child's name */ LstNode ln; /* Element in parents list */ - cname = Var(TARGET_INDEX, cgn); - /* * If the child was actually made, see what its modification time is * now -- some rules won't actually update the file. If the file still |