From fb0937a69eb38e744577aa94a6338135f6c1c9b4 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Wed, 2 Jun 2004 22:14:25 +0000 Subject: Marked unused parameters with the new UNUSED() macro. --- Src/exec.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Src/exec.c') diff --git a/Src/exec.c b/Src/exec.c index 2af94f582..418e8c67f 100644 --- a/Src/exec.c +++ b/Src/exec.c @@ -444,7 +444,7 @@ isgooderr(int e, char *dir) /**/ void -execute(Cmdnam not_used_yet, int dash, int defpath) +execute(UNUSED(Cmdnam cmdname), int dash, int defpath) { Cmdnam cn; char buf[MAXCMDLEN], buf2[MAXCMDLEN]; @@ -3157,7 +3157,7 @@ extern int tracingcond; /**/ static int -execcond(Estate state, int do_exec) +execcond(Estate state, UNUSED(int do_exec)) { int stat; @@ -3182,7 +3182,7 @@ execcond(Estate state, int do_exec) /**/ static int -execarith(Estate state, int do_exec) +execarith(Estate state, UNUSED(int do_exec)) { char *e; mnumber val = zero_mnumber; @@ -3216,7 +3216,7 @@ execarith(Estate state, int do_exec) /**/ static int -exectime(Estate state, int do_exec) +exectime(Estate state, UNUSED(int do_exec)) { int jb; @@ -3234,7 +3234,7 @@ exectime(Estate state, int do_exec) /**/ static int -execfuncdef(Estate state, int do_exec) +execfuncdef(Estate state, UNUSED(int do_exec)) { Shfunc shf; char *s; @@ -3364,7 +3364,7 @@ execshfunc(Shfunc shf, LinkList args) /**/ static int -execautofn(Estate state, int do_exec) +execautofn(Estate state, UNUSED(int do_exec)) { Shfunc shf; char *oldscriptname; -- cgit v1.2.3