diff options
author | Jack Lloyd <[email protected]> | 2017-01-27 21:50:40 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-01-27 21:51:30 -0500 |
commit | 887be8a3178386309a2b7cf356bf2933d9cd1068 (patch) | |
tree | afdb6af44654ffcc664cb8e64c6d4dd3548cf9d6 /src/lib/block/block_cipher.cpp | |
parent | 81ab8b95a0371001a086d3c11b616e22575eebb5 (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/block_cipher.cpp')
-rw-r--r-- | src/lib/block/block_cipher.cpp | 3 |
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; } |