From: Oliver Schmidt Date: Thu, 2 May 2013 11:51:08 +0000 (+0300) Subject: Removed unused variables. X-Git-Tag: V2.14~39 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=75d32760ac990d77cc3d0d22c3d549193752954e;p=cc65 Removed unused variables. --- 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 ();