summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin')
-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 34df8ef..a945571 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);
OpenPOWER on IntegriCloud