mirror of
https://github.com/cc65/cc65.git
synced 2025-01-16 13:31:16 +00:00
Avoided "Variable 'XXX' is defined but never used" error message resulted from an earlier error.
This commit is contained in:
parent
519a52d92c
commit
87f8893886
@ -178,7 +178,7 @@ static void CheckSymTable (SymTable* Tab)
|
||||
if (IS_Get (&WarnUnusedFunc)) {
|
||||
Warning ("Function '%s' is defined but never used", Entry->Name);
|
||||
}
|
||||
} else {
|
||||
} else if (!IsAnonName (Entry->Name)) {
|
||||
if (IS_Get (&WarnUnusedVar)) {
|
||||
Warning ("Variable '%s' is defined but never used", Entry->Name);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user