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