[Libreoffice-commits] core.git: compilerplugins/clang
Stephan Bergmann
sbergman at redhat.com
Tue May 16 17:45:09 UTC 2017
compilerplugins/clang/comparisonwithconstant.cxx | 1 -
1 file changed, 1 deletion(-)
New commits:
commit 133d06baefc5e36ae3b5a1713c3fded26cdabe2f
Author: Stephan Bergmann <sbergman at 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;
}
More information about the Libreoffice-commits
mailing list