• we had an unused variable leftover

• make warning-free for both gcc and xlC
This commit is contained in:
tg
2007-07-22 14:01:50 +00:00
parent 748d09122a
commit b09b3621e2
8 changed files with 28 additions and 17 deletions

4
lex.c
View File

@@ -2,7 +2,7 @@
#include "sh.h"
__RCSID("$MirOS: src/bin/mksh/lex.c,v 1.44 2007/07/22 13:34:51 tg Exp $");
__RCSID("$MirOS: src/bin/mksh/lex.c,v 1.45 2007/07/22 14:01:49 tg Exp $");
/* Structure to keep track of the lexing state and the various pieces of info
* needed for each particular state. */
@@ -905,7 +905,7 @@ yyerror(const char *fmt, ...)
va_start(va, fmt);
shf_vfprintf(shl_out, fmt, va);
va_end(va);
errorf("");
errorfz();
}
/*