Fix -Asserts warning.

llvm-svn: 79636
This commit is contained in:
Daniel Dunbar 2009-08-21 16:17:36 +00:00
parent 8e5edd81bb
commit 2f0e8f55f5
1 changed files with 2 additions and 2 deletions

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");
}
}