mirror of
https://github.com/cc65/cc65.git
synced 2024-12-23 19:29:37 +00:00
Clearer warning messages on unused symbols.
This commit is contained in:
parent
e8c2886455
commit
7e68a24625
@ -172,7 +172,7 @@ static void CheckSymTable (SymTable* Tab)
|
||||
}
|
||||
} else {
|
||||
if (IS_Get (&WarnUnusedVar)) {
|
||||
Warning ("'%s' is defined but never used", Entry->Name);
|
||||
Warning ("Variable '%s' is defined but never used", Entry->Name);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -186,7 +186,7 @@ static void CheckSymTable (SymTable* Tab)
|
||||
} else if (!SymIsRef (Entry)) {
|
||||
/* Defined but not used */
|
||||
if (IS_Get (&WarnUnusedLabel)) {
|
||||
Warning ("'%s' is defined but never used", Entry->Name);
|
||||
Warning ("Label '%s' is defined but never used", Entry->Name);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user