Remove obsolete #undef fail

This commit is contained in:
Rangi42
2024-02-20 20:15:34 -05:00
parent ee59f17ea1
commit c0da9fa2bb

View File

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