From 2f0e8f55f549b7aa0d9439fad476e38c55bc9877 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Fri, 21 Aug 2009 16:17:36 +0000 Subject: Fix -Asserts warning. llvm-svn: 79636 --- llvm/lib/Target/PIC16/PIC16PAN.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm') diff --git a/llvm/lib/Target/PIC16/PIC16PAN.h b/llvm/lib/Target/PIC16/PIC16PAN.h index f0e1ba0de07..a14671e755f 100644 --- a/llvm/lib/Target/PIC16/PIC16PAN.h +++ b/llvm/lib/Target/PIC16/PIC16PAN.h @@ -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"); } } -- cgit v1.2.3