• we had an unused variable leftover
• make warning-free for both gcc and xlC
This commit is contained in:
4
lex.c
4
lex.c
@@ -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();
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user