aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-10-25 21:25:50 -0400
committerJack Lloyd <[email protected]>2016-10-25 21:26:01 -0400
commitaefaf218c4f6d91578a263bb853ba0473ff101bb (patch)
treee6b83cc14ee71c722141f2bece8c59f0b901cb39
parentced8e0d6dbabce688b8e3b2ee366e9e71232f35e (diff)
Avoid unused warning when no compression libs available
[ci skip]
-rw-r--r--src/lib/compression/compression.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/compression/compression.cpp b/src/lib/compression/compression.cpp
index 92004a071..ded6b3b08 100644
--- a/src/lib/compression/compression.cpp
+++ b/src/lib/compression/compression.cpp
@@ -44,6 +44,7 @@ Compression_Algorithm* make_compressor(const std::string& name)
return new LZMA_Compression;
#endif
+ BOTAN_UNUSED(name);
return nullptr;
}
@@ -68,6 +69,7 @@ Decompression_Algorithm* make_decompressor(const std::string& name)
return new LZMA_Decompression;
#endif
+ BOTAN_UNUSED(name);
return nullptr;
}