Silence a warning when assertions are turned off.
authorDuncan Sands <baldrick@free.fr>
Fri, 3 Jul 2009 16:11:34 +0000 (16:11 +0000)
committerDuncan Sands <baldrick@free.fr>
Fri, 3 Jul 2009 16:11:34 +0000 (16:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74778 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PIC16/PIC16.h

index d22356d712dde4264ca6c388091430dbe7c46c69..7940648928a76fe970370a7ef5980a0b325425f7 100644 (file)
@@ -151,6 +151,7 @@ namespace PIC16CC {
         return STATIC_LOCAL;
  
       assert (0 && "Could not determine Symbol's tag");
+      return PREFIX_SYMBOL; // Silence warning when assertions are turned off.
     }
 
     // addPrefix - add prefix symbol to a name if there isn't one already.