summaryrefslogtreecommitdiffstats
path: root/scripts/tkparse.c
diff options
context:
space:
mode:
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;