aboutsummaryrefslogtreecommitdiff
path: root/src/prc1/call.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/prc1/call.c')
-rw-r--r--src/prc1/call.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/prc1/call.c b/src/prc1/call.c
index 176e1f3..41dde47 100644
--- a/src/prc1/call.c
+++ b/src/prc1/call.c
@@ -98,12 +98,7 @@ static int endcall(const struct lex *l, struct prv *p)
const struct tk *tk = c->id->tk;
size_t n = c->nparams;
- if (!pr)
- {
- errloc(p->stk - 1, "incomplete \"call\" statement");
- return -1;
- }
- else if (c->using && !n)
+ if (c->using && !n)
{
errloc(c->using, "\"using\" without arguments");
return -1;