From d4ded2a5054dcef06e76d62ae4affdf9bcd7234b Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Sat, 31 Oct 2026 17:23:45 +0100 Subject: call.c: Remove redundant check --- src/prc1/call.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/prc1/call.c') 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; -- cgit v1.2.3