Fix -Asserts warning.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79636 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Daniel Dunbar 2009-08-21 16:17:36 +00:00
parent bc38ca7321
commit e6c94c8d3a

View File

@ -433,12 +433,12 @@ namespace PIC16Overlay {
inline static std::string getSectionNameForColor(unsigned Color) {
switch (Color) {
default:
assert( 0 && "Color not supported");
case PIC16Overlay::GREEN:
return "GREEN";
case PIC16Overlay::GREEN_IL:
return "GREEN_IL";
default:
assert( 0 && "Color not supported");
}
}