diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-05-16 19:44:25 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-05-16 19:44:25 +0200 |
commit | 133d06baefc5e36ae3b5a1713c3fded26cdabe2f (patch) | |
tree | d2a50918b6a9e8148364f8f49f91d9db4db9c978 /compilerplugins | |
parent | 9c613898532510c85a118f3081bfc06cf6572683 (diff) |
Remove unused var
Change-Id: Id0266ad01eaabf2d9555e99f4a4c1c2300bb8be7
Diffstat (limited to 'compilerplugins')
-rw-r--r-- | compilerplugins/clang/comparisonwithconstant.cxx | 1 |
1 files changed, 0 insertions, 1 deletions
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; } |