]> granicus.if.org Git - clang/commitdiff
Remove unreachable default case to pacify clang's -Wcovered-switch-default.
authorBenjamin Kramer <benny.kra@googlemail.com>
Fri, 6 Jul 2012 15:27:25 +0000 (15:27 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Fri, 6 Jul 2012 15:27:25 +0000 (15:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159829 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Basic/Targets.cpp

index 94d664d3b69ddf9613ff3c25aa3a164ab5182ea5..bc3cbf24fafc1df13fd2319330a1dfb0ea7a846b 100644 (file)
@@ -3636,7 +3636,6 @@ public:
   virtual void getArchDefines(const LangOptions &Opts,
                               MacroBuilder &Builder) const {
     switch (FloatABI) {
-    default:
     case HardFloat:
       Builder.defineMacro("__mips_hard_float", Twine(1));
       break;