Use uncommented sizes for pointer-to-array arguments (#1329)

This is syntactically valid despite not being enforced, and
is a feature we already use elsewhere.
This commit is contained in:
Sylvie
2024-03-03 19:43:08 -05:00
committed by GitHub
parent 0da216897a
commit f8dab23e8f
3 changed files with 4 additions and 5 deletions

View File

@@ -493,7 +493,7 @@ Symbol *sym_AddAnonLabel()
}
// Write an anonymous label's name to a buffer
void sym_WriteAnonLabelName(char buf[/* MAXSYMLEN + 1 */], uint32_t ofs, bool neg)
void sym_WriteAnonLabelName(char buf[MAXSYMLEN + 1], uint32_t ofs, bool neg)
{
uint32_t id = 0;