aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/tools/singlejar
diff options
context:
space:
mode:
authorGravatar Austin Schuh <austin.linux@gmail.com>2018-03-28 15:01:48 -0700
committerGravatar Copybara-Service <copybara-piper@google.com>2018-03-28 15:03:13 -0700
commit6d4f4f9e9278dd10f722adf7a5c02cfd5efee288 (patch)
tree9c4d0458e22b6233e1da54781414171ebd613b6b /src/tools/singlejar
parent0bf1413833ad78784771fefb468f080a53640136 (diff)
Fix unused variable warnings from clang.
This was preventing ijar and singlejar from building when included in @bazel_tools in our repo. Change-Id: I1553e4f3615965cb997579e7d277fb2a08f9b91b PiperOrigin-RevId: 190840090
Diffstat (limited to 'src/tools/singlejar')
-rw-r--r--src/tools/singlejar/combiners.cc8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/tools/singlejar/combiners.cc b/src/tools/singlejar/combiners.cc
index 8fd2a0fdfe..1da86e626a 100644
--- a/src/tools/singlejar/combiners.cc
+++ b/src/tools/singlejar/combiners.cc
@@ -113,9 +113,11 @@ void *Concatenator::OutputEntry(bool compress) {
NullCombiner::~NullCombiner() {}
-bool NullCombiner::Merge(const CDH *cdh, const LH *lh) { return true; }
+bool NullCombiner::Merge(const CDH * /*cdh*/, const LH * /*lh*/) {
+ return true;
+}
-void *NullCombiner::OutputEntry(bool compress) { return nullptr; }
+void *NullCombiner::OutputEntry(bool /*compress*/) { return nullptr; }
XmlCombiner::~XmlCombiner() {}
@@ -171,6 +173,6 @@ void *XmlCombiner::OutputEntry(bool compress) {
PropertyCombiner::~PropertyCombiner() {}
-bool PropertyCombiner::Merge(const CDH *cdh, const LH *lh) {
+bool PropertyCombiner::Merge(const CDH * /*cdh*/, const LH * /*lh*/) {
return false; // This should not be called.
}