aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/block
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-01-27 21:50:40 -0500
committerJack Lloyd <[email protected]>2017-01-27 21:51:30 -0500
commit887be8a3178386309a2b7cf356bf2933d9cd1068 (patch)
treeafdb6af44654ffcc664cb8e64c6d4dd3548cf9d6 /src/lib/block
parent81ab8b95a0371001a086d3c11b616e22575eebb5 (diff)
Add BOTAN_UNUSED in creator functions
If all (say) stream ciphers are disabled, avoid unused arg warning. [ci skip]
Diffstat (limited to 'src/lib/block')
-rw-r--r--src/lib/block/block_cipher.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/block/block_cipher.cpp b/src/lib/block/block_cipher.cpp
index 750d01821..fa0ecad52 100644
--- a/src/lib/block/block_cipher.cpp
+++ b/src/lib/block/block_cipher.cpp
@@ -274,6 +274,9 @@ BlockCipher::create(const std::string& algo,
}
#endif
+ BOTAN_UNUSED(req);
+ BOTAN_UNUSED(provider);
+
return nullptr;
}