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/lib/cert/x509/x509path.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/cert/x509/x509path.cpp') diff --git a/src/lib/cert/x509/x509path.cpp b/src/lib/cert/x509/x509path.cpp index 7e54ad9f9..5e12ddb2a 100644 --- a/src/lib/cert/x509/x509path.cpp +++ b/src/lib/cert/x509/x509path.cpp @@ -170,7 +170,7 @@ check_chain(const std::vector& cert_path, else if(ocsp_status == Certificate_Status_Code::OCSP_RESPONSE_GOOD) continue; } - catch(std::exception& e) + catch(std::exception&) { //std::cout << "OCSP error: " << e.what() << "\n"; } -- cgit v1.2.3