aboutsummaryrefslogtreecommitdiffstats
path: root/checks
diff options
context:
space:
mode:
Diffstat (limited to 'checks')
-rw-r--r--checks/ec_tests.cpp2
-rw-r--r--checks/ecdsa.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/checks/ec_tests.cpp b/checks/ec_tests.cpp
index 0b14654c3..f378de8a4 100644
--- a/checks/ec_tests.cpp
+++ b/checks/ec_tests.cpp
@@ -741,7 +741,7 @@ void test_cdc_curve_33()
{
p_G.check_invariants();
}
- catch (std::exception& e)
+ catch (std::exception)
{
exc = true;
}
diff --git a/checks/ecdsa.cpp b/checks/ecdsa.cpp
index 40f19ad1b..5dcd90efd 100644
--- a/checks/ecdsa.cpp
+++ b/checks/ecdsa.cpp
@@ -439,7 +439,7 @@ void test_read_pkcs8(RandomNumberGenerator& rng)
std::cout << "Unexpected success: loaded key with unknown OID\n";
}
- catch (std::exception& e) { /* OK */ }
+ catch (std::exception) { /* OK */ }
}
catch (std::exception& e)
{