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/kdf/kdf.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/kdf/kdf.cpp')
-rw-r--r-- | src/lib/kdf/kdf.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/kdf/kdf.cpp b/src/lib/kdf/kdf.cpp index 2fba1868e..0e9d840c1 100644 --- a/src/lib/kdf/kdf.cpp +++ b/src/lib/kdf/kdf.cpp @@ -200,6 +200,9 @@ std::unique_ptr<KDF> KDF::create(const std::string& algo_spec, } #endif + BOTAN_UNUSED(req); + BOTAN_UNUSED(provider); + return nullptr; } |