From e6c94c8d3a75cbc5e27597583d5af27ff0fb3eb4 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Fri, 21 Aug 2009 16:17:36 +0000 Subject: [PATCH] Fix -Asserts warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79636 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/PIC16/PIC16PAN.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Target/PIC16/PIC16PAN.h b/lib/Target/PIC16/PIC16PAN.h index f0e1ba0de07..a14671e755f 100644 --- a/lib/Target/PIC16/PIC16PAN.h +++ b/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"); } } -- 2.34.1