Fix a C89 incompatibility (Stefan Haubenthal).
git-svn-id: svn://svn.cc65.org/cc65/trunk@5272 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -1884,6 +1884,7 @@ static cc65_typedata* TypeFromString (TypeParseData* P)
|
||||
* recursively. Will set P->Error and return NULL in case of problems.
|
||||
*/
|
||||
{
|
||||
cc65_typedata* Data;
|
||||
unsigned char B;
|
||||
unsigned I;
|
||||
unsigned Count;
|
||||
@@ -1893,7 +1894,7 @@ static cc65_typedata* TypeFromString (TypeParseData* P)
|
||||
P->Error = 1;
|
||||
return 0;
|
||||
}
|
||||
cc65_typedata* Data = &P->ItemData[P->ItemIndex++];
|
||||
Data = &P->ItemData[P->ItemIndex++];
|
||||
|
||||
/* Assume no following node */
|
||||
Data->next = 0;
|
||||
|
||||
Reference in New Issue
Block a user