commit 1529db2ce3173f824acd8e7fd895c2543262be17
parent 95fc266ff25c057139b8c336e309d183b76cf751
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Thu, 15 May 2014 14:29:06 +0200
Remove non used variables
Diffstat:
3 files changed, 1 insertion(+), 4 deletions(-)
diff --git a/cc1/code.c b/cc1/code.c
@@ -132,7 +132,7 @@ void
emitunary(Node *np)
{
Node *child;
- char op, letter;
+ char letter;
letter = np->type->letter;
child = np->childs[0];
diff --git a/cc1/decl.c b/cc1/decl.c
@@ -65,7 +65,6 @@ static struct dcldata *
directdcl(struct dcldata *dp, int8_t flags)
{
register Symbol *sym;
- char *err;
if (accept('(')) {
dp = declarator0(dp, flags);
diff --git a/cc1/expr.c b/cc1/expr.c
@@ -156,7 +156,6 @@ parithmetic(char op, Node *np1, Node *np2)
{
Type *tp;
Node *size;
- char *err;
tp = np1->utype;
size = sizeofcode(tp->type);
@@ -504,7 +503,6 @@ unary(void)
register Node *(*fun)(char, Node *);
register char op;
Type *tp;
- char *err;
switch (yytoken) {
case SIZEOF: