diff options
author | Daniel Neus <[email protected]> | 2015-12-22 21:50:43 +0100 |
---|---|---|
committer | Daniel Neus <[email protected]> | 2015-12-22 21:50:43 +0100 |
commit | aedb8d8ef646ed480296eb0a53513c74475cef08 (patch) | |
tree | b57a9fc558d859baf39730278b7f56d881c31e6e /src/tests/tests.cpp | |
parent | a589d7a2ede70871d3f563ed34cdd3c10046e5c2 (diff) |
some trivial compiler/PVS-Studio warning fixes
Diffstat (limited to 'src/tests/tests.cpp')
-rw-r--r-- | src/tests/tests.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tests/tests.cpp b/src/tests/tests.cpp index 4d035c0c8..b9d99b1ce 100644 --- a/src/tests/tests.cpp +++ b/src/tests/tests.cpp @@ -512,7 +512,7 @@ std::vector<uint8_t> Text_Based_Test::get_req_bin(const VarMap& vars, { return Botan::hex_decode(i->second); } - catch(std::exception& e) + catch(std::exception&) { throw Test_Error("Test invalid hex input '" + i->second + "'" + + " for key " + key); @@ -556,7 +556,7 @@ std::vector<uint8_t> Text_Based_Test::get_opt_bin(const VarMap& vars, { return Botan::hex_decode(i->second); } - catch(std::exception& e) + catch(std::exception&) { throw Test_Error("Test invalid hex input '" + i->second + "'" + + " for key " + key); @@ -583,7 +583,7 @@ Botan::BigInt Text_Based_Test::get_req_bn(const VarMap& vars, { return Botan::BigInt(i->second); } - catch(std::exception& e) + catch(std::exception&) { throw Test_Error("Test invalid bigint input '" + i->second + "' for key " + key); } |