summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHartmut Brandt <harti@FreeBSD.org>2004-12-10 10:13:40 +0000
committerHartmut Brandt <harti@FreeBSD.org>2004-12-10 10:13:40 +0000
commit16fa982c701f293d455a6e763e175fecab590703 (patch)
tree0641e4a466eb7f4d0174b86809d00b4ccd569998
parent5e5da865970e2e156d4048753fa16641525ffd55 (diff)
Notes
-rw-r--r--usr.bin/make/parse.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/usr.bin/make/parse.c b/usr.bin/make/parse.c
index 34df8ef8ef85..a94557124765 100644
--- a/usr.bin/make/parse.c
+++ b/usr.bin/make/parse.c
@@ -102,7 +102,6 @@ __FBSDID("$FreeBSD$");
#define CONTINUE 1
#define DONE 0
static Lst *targets; /* targets we're working on */
-static Lst *targCmds; /* command lines for targets */
static Boolean inLine; /* true if currently in a dependency
* line or its commands */
static int fatals = 0;
@@ -2445,7 +2444,6 @@ Parse_File(char *name, FILE *stream)
* commands of all targets in the dependency spec
*/
Lst_ForEach(targets, ParseAddCmd, cp);
- Lst_AtEnd(targCmds, line);
continue;
} else {
Parse_Error(PARSE_FATAL,
@@ -2543,14 +2541,12 @@ Parse_Init(void)
parseIncPath = Lst_Init();
sysIncPath = Lst_Init();
includes = Lst_Init();
- targCmds = Lst_Init();
}
void
Parse_End(void)
{
- Lst_Destroy(targCmds, free);
if (targets)
Lst_Destroy(targets, NOFREE);
Lst_Destroy(sysIncPath, Dir_Destroy);