aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/awk/run.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/awk/run.c')
-rw-r--r--src/cmd/awk/run.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/cmd/awk/run.c b/src/cmd/awk/run.c
index da3e4378..b145758c 100644
--- a/src/cmd/awk/run.c
+++ b/src/cmd/awk/run.c
@@ -1541,7 +1541,7 @@ Cell *bltin(Node **a, int n) /* builtin functions. a[0] is type, a[1] is arg lis
return x;
default: /* can't happen */
FATAL("illegal function type %d", t);
- break;
+ return(NULL);
}
tempfree(x);
x = gettemp();
@@ -1584,8 +1584,6 @@ Cell *printstat(Node **a, int n) /* print a[0] */
Cell *nullproc(Node **a, int n)
{
- n = n;
- a = a;
return 0;
}
@@ -1683,7 +1681,6 @@ Cell *closefile(Node **a, int n)
Cell *x;
int i, stat;
- n = n;
x = execute(a[0]);
getsval(x);
for (i = 0; i < FOPEN_MAX; i++)