compilerplugins/clang/comparisonwithconstant.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 133d06baefc5e36ae3b5a1713c3fded26cdabe2f
Author: Stephan Bergmann <sberg...@redhat.com>
Date:   Tue May 16 19:44:25 2017 +0200

    Remove unused var
    
    Change-Id: Id0266ad01eaabf2d9555e99f4a4c1c2300bb8be7

diff --git a/compilerplugins/clang/comparisonwithconstant.cxx 
b/compilerplugins/clang/comparisonwithconstant.cxx
index cf721a83c4e3..8decc5c475cc 100644
--- a/compilerplugins/clang/comparisonwithconstant.cxx
+++ b/compilerplugins/clang/comparisonwithconstant.cxx
@@ -57,7 +57,6 @@ bool ComparisonWithConstant::VisitBinaryOperator(const 
BinaryOperator* binaryOp)
     if (binaryOp->getLHS()->isValueDependent() || 
binaryOp->getRHS()->isValueDependent()) {
         return true;
     }
-    APValue result;
     if (!binaryOp->getLHS()->isEvaluatable(compiler.getASTContext())) {
         return true;
     }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to