ref: ffbd94a13592c386a30ba1c8e09364c7c003cdb2
parent: f9656a52f74f06992b576510bb52ed4b6f66b787
author: Roberto E. Vargas Caballero <[email protected]>
date: Fri Sep 4 16:15:15 EDT 2015
Remove unused parameter ini chklvalue()
--- a/cc1/expr.c
+++ b/cc1/expr.c
@@ -86,7 +86,7 @@
}
static void
-chklvalue(Node *np, Type *tp)
+chklvalue(Node *np)
{
if (!np->lvalue)
error("lvalue required in operation");
@@ -441,7 +441,7 @@
Type *tp = np->type;
Node *inc;
- chklvalue(np, np->type);
+ chklvalue(np);
switch (BTYPE(np)) {
case PTR:
@@ -911,7 +911,7 @@
case OR_EQ: op = OA_OR; fun = integerop; break;
default: return np;
}
- chklvalue(np, np->type);
+ chklvalue(np);
next();
np = (fun)(op, np, assign());
}