summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-05-17 15:01:32 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-05-17 15:01:32 +0200
commit6a21827e976ddaba9a59e511de66d64592a6a14c (patch)
tree0a3989763235800217f688be95a5444b4405e8d3 /compilerplugins
parente8918c464c7be09823bc8f5179080d7da0060de7 (diff)
Remove unused var
Change-Id: I187df1a6f5bf5d870820f60c6dca1ac3beb8cf22
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/comparisonwithconstant.cxx1
1 files changed, 0 insertions, 1 deletions
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;
}