dead code removal
This commit is contained in:
12
exec.c
12
exec.c
@ -2,7 +2,7 @@
|
||||
|
||||
#include "sh.h"
|
||||
|
||||
__RCSID("$MirOS: src/bin/mksh/exec.c,v 1.30 2007/05/13 17:51:21 tg Exp $");
|
||||
__RCSID("$MirOS: src/bin/mksh/exec.c,v 1.31 2007/05/13 18:49:00 tg Exp $");
|
||||
|
||||
static int comexec(struct op *, struct tbl *volatile, const char **,
|
||||
int volatile);
|
||||
@ -14,7 +14,6 @@ static int herein(const char *, int);
|
||||
static const char *do_selectargs(const char **, bool);
|
||||
static int dbteste_isa(Test_env *, Test_meta);
|
||||
static const char *dbteste_getopnd(Test_env *, Test_op, int);
|
||||
static int dbteste_eval(Test_env *, Test_op, const char *, const char *, int);
|
||||
static void dbteste_error(Test_env *, int, const char *);
|
||||
|
||||
/*
|
||||
@ -234,7 +233,7 @@ execute(struct op *volatile t,
|
||||
te.pos.wp = t->args;
|
||||
te.isa = dbteste_isa;
|
||||
te.getopnd = dbteste_getopnd;
|
||||
te.eval = dbteste_eval;
|
||||
te.eval = test_eval;
|
||||
te.error = dbteste_error;
|
||||
|
||||
rv = test_parse(&te);
|
||||
@ -1448,13 +1447,6 @@ dbteste_getopnd(Test_env *te, Test_op op, int do_eval)
|
||||
return s;
|
||||
}
|
||||
|
||||
static int
|
||||
dbteste_eval(Test_env *te, Test_op op, const char *opnd1, const char *opnd2,
|
||||
int do_eval)
|
||||
{
|
||||
return test_eval(te, op, opnd1, opnd2, do_eval);
|
||||
}
|
||||
|
||||
static void
|
||||
dbteste_error(Test_env *te, int offset, const char *msg)
|
||||
{
|
||||
|
Reference in New Issue
Block a user