More dead code removal (using -Wunreachable-code)
[oota-llvm.git] / lib / AsmParser / LLParser.cpp
index e056f69cd702a5f081ae008e3592a2511edbe4c7..efd48e1c14de80a046c9eeef7f06e2c60f6754cf 100644 (file)
@@ -1043,13 +1043,11 @@ bool LLParser::ParseOptionalCallingConv(CallingConv::ID &CC) {
   case lltok::kw_cc: {
       unsigned ArbitraryCC;
       Lex.Lex();
-      if (ParseUInt32(ArbitraryCC)) {
+      if (ParseUInt32(ArbitraryCC))
         return true;
-      } else
-        CC = static_cast<CallingConv::ID>(ArbitraryCC);
-        return false;
+      CC = static_cast<CallingConv::ID>(ArbitraryCC);
+      return false;
     }
-    break;
   }
 
   Lex.Lex();