summaryrefslogtreecommitdiffstats
path: root/scripts/tkparse.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1998-03-17 22:05:47 +0000
committerRalf Baechle <ralf@linux-mips.org>1998-03-17 22:05:47 +0000
commit27cfca1ec98e91261b1a5355d10a8996464b63af (patch)
tree8e895a53e372fa682b4c0a585b9377d67ed70d0e /scripts/tkparse.c
parent6a76fb7214c477ccf6582bd79c5b4ccc4f9c41b1 (diff)
Look Ma' what I found on my harddisk ...
o New faster syscalls for 2.1.x, too o Upgrade to 2.1.89. Don't try to run this. It's flaky as hell. But feel free to debug ...
Diffstat (limited to 'scripts/tkparse.c')
-rw-r--r--scripts/tkparse.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/scripts/tkparse.c b/scripts/tkparse.c
index 98d1393ca..f91d0f355 100644
--- a/scripts/tkparse.c
+++ b/scripts/tkparse.c
@@ -326,10 +326,6 @@ void parse(char * pnt) {
tok = tok_menuoption;
pnt += 15;
}
- else if (strncmp(pnt, "$MAKE ", 6) == 0)
- {
- tok = tok_make;
- }
else if (strncmp(pnt, "comment", 7) == 0)
{
tok = tok_comment;
@@ -513,9 +509,6 @@ void parse(char * pnt) {
pnt = get_qstring(pnt, &kcfg->label);
}
break;
- case tok_make:
- kcfg->value=strdup(pnt);
- break;
case tok_else:
case tok_fi:
case tok_endmenu:
@@ -585,7 +578,7 @@ static int do_source(char * filename)
char buffer[1024];
int offset;
int old_lineno;
- char * old_file;
+ char * old_file = 0; /* superfluous, just for gcc */
char * pnt;
FILE * infile;