From 75d32760ac990d77cc3d0d22c3d549193752954e Mon Sep 17 00:00:00 2001 From: Oliver Schmidt Date: Thu, 2 May 2013 14:51:08 +0300 Subject: [PATCH] Removed unused variables. --- src/cc65/declare.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/cc65/declare.c b/src/cc65/declare.c index 5f4a0f10f..5694b76b8 100644 --- a/src/cc65/declare.c +++ b/src/cc65/declare.c @@ -599,7 +599,6 @@ static SymEntry* ParseUnionDecl (const char* Name) unsigned FieldSize; int FieldWidth; /* Width in bits, -1 if not a bit-field */ SymTable* FieldTab; - SymEntry* Entry; if (CurTok.Tok != TOK_LCURLY) { @@ -608,7 +607,7 @@ static SymEntry* ParseUnionDecl (const char* Name) } /* Add a forward declaration for the struct in the current lexical level */ - Entry = AddStructSym (Name, SC_UNION, 0, 0); + AddStructSym (Name, SC_UNION, 0, 0); /* Skip the curly brace */ NextToken (); @@ -702,7 +701,6 @@ static SymEntry* ParseStructDecl (const char* Name) int BitOffs; /* Bit offset for bit-fields */ int FieldWidth; /* Width in bits, -1 if not a bit-field */ SymTable* FieldTab; - SymEntry* Entry; if (CurTok.Tok != TOK_LCURLY) { @@ -711,7 +709,7 @@ static SymEntry* ParseStructDecl (const char* Name) } /* Add a forward declaration for the struct in the current lexical level */ - Entry = AddStructSym (Name, SC_STRUCT, 0, 0); + AddStructSym (Name, SC_STRUCT, 0, 0); /* Skip the curly brace */ NextToken (); -- 2.39.5