svn mv Target/ARM/ARMGlobalMerge.cpp Transforms/Scalar/GlobalMerge.cpp
[oota-llvm.git] / lib / Transforms / Scalar / Reassociate.cpp
index e6341ae3071fdbb25ea93ab1da5eb59d8c0a919b..8f98a5b6503e15a981f3d12753fd580122bb42dc 100644 (file)
@@ -309,7 +309,7 @@ void Reassociate::LinearizeExprTree(BinaryOperator *I,
     std::swap(LHS, RHS);
     bool Success = !I->swapOperands();
     assert(Success && "swapOperands failed");
-    Success = false;
+    (void)Success;
     MadeChange = true;
   } else if (RHSBO) {
     // Turn (A+B)+(C+D) -> (((A+B)+C)+D).  This guarantees the RHS is not