From aefaf218c4f6d91578a263bb853ba0473ff101bb Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Tue, 25 Oct 2016 21:25:50 -0400 Subject: Avoid unused warning when no compression libs available [ci skip] --- src/lib/compression/compression.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/lib/compression') 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; } -- cgit v1.2.3