aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2019-02-20 22:37:13 -0800
committerMichael Forney <mforney@mforney.org>2019-02-20 22:45:49 -0800
commit401e6908a859b46da5c8d8059ccc58c189cd4a26 (patch)
treec7801de030c694f2e66bbabe9277dfb55a2f7dff
parent8ee2279ef9762143491de515ac414166feb31248 (diff)
downloadcproc-401e6908a859b46da5c8d8059ccc58c189cd4a26.tar.xz
Remove some unused variables
-rw-r--r--eval.c1
-rw-r--r--expr.c1
-rw-r--r--init.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/eval.c b/eval.c
index 65331cc..e45c9d2 100644
--- a/eval.c
+++ b/eval.c
@@ -74,7 +74,6 @@ eval(struct expression *expr)
{
struct expression *l, *r, *c;
struct declaration *d;
- int op;
switch (expr->kind) {
case EXPRIDENT:
diff --git a/expr.c b/expr.c
index 78881fb..2db2622 100644
--- a/expr.c
+++ b/expr.c
@@ -405,7 +405,6 @@ postfixexpr(struct scope *s, struct expression *r)
struct type *t;
enum typequalifier tq;
struct parameter *p;
- struct member *m;
char *name;
uint64_t offset;
enum tokenkind op;
diff --git a/init.c b/init.c
index f6021a7..6cba4b4 100644
--- a/init.c
+++ b/init.c
@@ -119,7 +119,6 @@ static void
designator(struct scope *s, struct initparser *p)
{
struct type *t;
- uint64_t offset;
char *name;
p->sub = p->cur;