Add default clauses to switch statements

Signed-off-by: Antonio Niño Díaz <antonio_nd@outlook.com>
This commit is contained in:
Antonio Niño Díaz
2018-04-01 01:54:42 +01:00
parent 516e4578ea
commit 85ece88268
5 changed files with 16 additions and 2 deletions

View File

@@ -617,6 +617,9 @@ void AssignSections(void)
pSection->nOrg, pSection->nBank);
}
break;
default:
errx(1, "%s: Internal error: Type %d", __func__,
pSection->Type);
}
}