From: cuz Date: Mon, 22 Dec 2003 20:38:14 +0000 (+0000) Subject: Fixed a C99 issue X-Git-Tag: V2.12.0~994 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1dec56074385608d9d8cd5be686f3aa63db56aca;p=cc65 Fixed a C99 issue git-svn-id: svn://svn.cc65.org/cc65/trunk@2816 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/ca65/pseudo.c b/src/ca65/pseudo.c index c0fcfcab8..1388cdadc 100644 --- a/src/ca65/pseudo.c +++ b/src/ca65/pseudo.c @@ -1307,11 +1307,13 @@ static void DoProc (void) if (Tok == TOK_IDENT) { + SymEntry* Sym; + /* The new scope has a name. Remember it. */ strcpy (Name, SVal); /* Search for the symbol, generate a new one if needed */ - SymEntry* Sym = SymFind (CurrentScope, Name, SYM_ALLOC_NEW); + Sym = SymFind (CurrentScope, Name, SYM_ALLOC_NEW); /* Skip the scope name */ NextTok ();