Avoid "ambiguous 'else'" warning from gcc.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86314 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Transforms/Scalar/JumpThreading.cpp b/lib/Transforms/Scalar/JumpThreading.cpp
index 4bbde13..7cd1602 100644
--- a/lib/Transforms/Scalar/JumpThreading.cpp
+++ b/lib/Transforms/Scalar/JumpThreading.cpp
@@ -213,11 +213,12 @@
       return ConstantExpr::getCompare(pred, CLHS, CRHS);
   
   if (LHS == RHS)
-    if (isa<IntegerType>(LHS->getType()) || isa<PointerType>(LHS->getType()))
+    if (isa<IntegerType>(LHS->getType()) || isa<PointerType>(LHS->getType())) {
       if (ICmpInst::isTrueWhenEqual(pred))
         return ConstantInt::getTrue(LHS->getContext());
       else
         return ConstantInt::getFalse(LHS->getContext());
+    }
   return 0;
 }