1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-01 13:41:34 +00:00

Clearer warning messages on unused symbols.

This commit is contained in:
acqn 2020-08-03 01:15:57 +08:00 committed by Oliver Schmidt
parent e8c2886455
commit 7e68a24625

View File

@ -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);
}
}
}