[Libreoffice-commits] core.git: compilerplugins/clang

Stephan Bergmann sbergman at redhat.com
Wed May 17 13:02:17 UTC 2017


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

New commits:
commit 6a21827e976ddaba9a59e511de66d64592a6a14c
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed May 17 15:01:32 2017 +0200

    Remove unused var
    
    Change-Id: I187df1a6f5bf5d870820f60c6dca1ac3beb8cf22

diff --git a/compilerplugins/clang/comparisonwithconstant.cxx b/compilerplugins/clang/comparisonwithconstant.cxx
index 8decc5c475cc..d200d8ec212d 100644
--- a/compilerplugins/clang/comparisonwithconstant.cxx
+++ b/compilerplugins/clang/comparisonwithconstant.cxx
@@ -100,7 +100,6 @@ bool ComparisonWithConstant::rewrite(const BinaryOperator * binaryOp) {
     }
 
     // switch LHS and RHS
-    RewriteOptions opts;
     if (!replaceText(lhsRange, rhsString)) {
         return false;
     }


More information about the Libreoffice-commits mailing list