mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Remove obsolete #undef fail
This commit is contained in:
@@ -223,7 +223,6 @@ void sect_CleanupSections(void)
|
||||
static void doSanityChecks(struct Section *section, void *)
|
||||
{
|
||||
// Sanity check the section's type
|
||||
|
||||
if (section->type < 0 || section->type >= SECTTYPE_INVALID) {
|
||||
error(NULL, 0, "Section \"%s\" has an invalid type", section->name);
|
||||
return;
|
||||
@@ -299,8 +298,6 @@ static void doSanityChecks(struct Section *section, void *)
|
||||
section->name, section->org + section->size,
|
||||
endaddr(section->type) + 1);
|
||||
}
|
||||
|
||||
#undef fail
|
||||
}
|
||||
|
||||
void sect_DoSanityChecks(void)
|
||||
|
||||
Reference in New Issue
Block a user