• 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
exec.c
View File

@ -2,7 +2,7 @@
#include "sh.h"
__RCSID("$MirOS: src/bin/mksh/exec.c,v 1.35 2007/07/22 13:38:26 tg Exp $");
__RCSID("$MirOS: src/bin/mksh/exec.c,v 1.36 2007/07/22 14:01:48 tg Exp $");
static int comexec(struct op *, struct tbl *volatile, const char **,
int volatile);
@ -95,7 +95,7 @@ execute(struct op *volatile t,
*/
if (tp && tp->type == CSHELL &&
(tp->flag & SPEC_BI))
errorf("");
errorfz();
/* Deal with FERREXIT, quitenv(), etc. */
goto Break;
}