Remove 'else' after 'return'. No functional change.
authorCraig Topper <craig.topper@gmail.com>
Tue, 23 Jul 2013 06:27:36 +0000 (06:27 +0000)
committerCraig Topper <craig.topper@gmail.com>
Tue, 23 Jul 2013 06:27:36 +0000 (06:27 +0000)
llvm-svn: 186929

llvm/utils/TableGen/AsmWriterInst.cpp

index 68fd559..1c2004f 100644 (file)
@@ -226,8 +226,7 @@ unsigned AsmWriterInst::MatchesAllButOneOp(const AsmWriterInst &Other)const{
     if (Operands[i] != Other.Operands[i]) {
       if (MismatchOperand != ~0U)  // Already have one mismatch?
         return ~1U;
-      else
-        MismatchOperand = i;
+      MismatchOperand = i;
     }
   }
   return MismatchOperand;