From aedb8d8ef646ed480296eb0a53513c74475cef08 Mon Sep 17 00:00:00 2001 From: Daniel Neus Date: Tue, 22 Dec 2015 21:50:43 +0100 Subject: some trivial compiler/PVS-Studio warning fixes --- src/tests/test_aead.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/tests/test_aead.cpp') diff --git a/src/tests/test_aead.cpp b/src/tests/test_aead.cpp index 5d7e1094e..a31996fad 100644 --- a/src/tests/test_aead.cpp +++ b/src/tests/test_aead.cpp @@ -71,7 +71,7 @@ class AEAD_Tests : public Text_Based_Test dec->finish(buf); result.test_failure("accepted modified message", mutated_input); } - catch(Botan::Integrity_Failure& e) + catch(Botan::Integrity_Failure&) { result.test_note("correctly rejected modified message"); } @@ -93,7 +93,7 @@ class AEAD_Tests : public Text_Based_Test dec->finish(buf); result.test_failure("accepted message with modified nonce", bad_nonce); } - catch(Botan::Integrity_Failure& e) + catch(Botan::Integrity_Failure&) { result.test_note("correctly rejected modified nonce"); } @@ -115,7 +115,7 @@ class AEAD_Tests : public Text_Based_Test dec->finish(buf); result.test_failure("accepted message with modified ad", bad_ad); } - catch(Botan::Integrity_Failure& e) + catch(Botan::Integrity_Failure&) { result.test_note("correctly rejected modified ad"); } -- cgit v1.2.3