diff options
author | lloyd <[email protected]> | 2009-07-21 06:54:48 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-07-21 06:54:48 +0000 |
commit | 2af0993befed5397483fbf154254a400cb14bbef (patch) | |
tree | 5547aa027193a71dff90e28eab64f38808fdebe6 /src | |
parent | 9249f35a13744d2e676bd6d77bf2312edbe0c79b (diff) |
Fix some unused variable nits pointed out by icc 10.1
Diffstat (limited to 'src')
-rw-r--r-- | src/entropy/egd/es_egd.cpp | 2 | ||||
-rw-r--r-- | src/pubkey/dsa/dsa_core.cpp | 6 | ||||
-rw-r--r-- | src/pubkey/ecc_key/ecc_key.cpp | 2 | ||||
-rw-r--r-- | src/selftest/selftest.cpp | 2 |
4 files changed, 3 insertions, 9 deletions
diff --git a/src/entropy/egd/es_egd.cpp b/src/entropy/egd/es_egd.cpp index a2e3d3791..9e37f8f17 100644 --- a/src/entropy/egd/es_egd.cpp +++ b/src/entropy/egd/es_egd.cpp @@ -98,7 +98,7 @@ u32bit EGD_EntropySource::EGD_Socket::read(byte outbuf[], u32bit length) return static_cast<u32bit>(count); } - catch(std::exception& e) + catch(std::exception) { this->close(); // Will attempt to reopen next poll diff --git a/src/pubkey/dsa/dsa_core.cpp b/src/pubkey/dsa/dsa_core.cpp index e144d2467..e5a23a5c3 100644 --- a/src/pubkey/dsa/dsa_core.cpp +++ b/src/pubkey/dsa/dsa_core.cpp @@ -13,12 +13,6 @@ namespace Botan { -namespace { - -const u32bit BLINDING_BITS = BOTAN_PRIVATE_KEY_OP_BLINDING_BITS; - -} - /* * DSA_Core Constructor */ diff --git a/src/pubkey/ecc_key/ecc_key.cpp b/src/pubkey/ecc_key/ecc_key.cpp index 9af63bdcd..615efecf1 100644 --- a/src/pubkey/ecc_key/ecc_key.cpp +++ b/src/pubkey/ecc_key/ecc_key.cpp @@ -57,7 +57,7 @@ void EC_PublicKey::X509_load_hook() affirm_init(); mp_public_point->check_invariants(); } - catch(Illegal_Point exc) + catch(Illegal_Point) { throw Decoding_Error("decoded public point was found not to lie on curve"); } diff --git a/src/selftest/selftest.cpp b/src/selftest/selftest.cpp index ea032b04e..d644e866e 100644 --- a/src/selftest/selftest.cpp +++ b/src/selftest/selftest.cpp @@ -173,7 +173,7 @@ bool passes_self_tests(Algorithm_Factory& af) "0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B"))); } } - catch(std::exception& e) + catch(std::exception) { return false; } |