diff --git a/lib/remote/jsonrpcconnection-pki.cpp b/lib/remote/jsonrpcconnection-pki.cpp index b8fda041a..4f9938091 100644 --- a/lib/remote/jsonrpcconnection-pki.cpp +++ b/lib/remote/jsonrpcconnection-pki.cpp @@ -57,9 +57,7 @@ Value RequestCertificateHandler(const MessageOrigin::Ptr& origin, const Dictiona try { signedByCA = VerifyCertificate(cacert, cert); - } catch (const std::exception& ex) { - - } + } catch (const std::exception&) { } /* Swallow the exception on purpose, cacert will never be a non-CA certificate. */ Log(LogInformation, "JsonRpcConnection") << "Received certificate request for CN '" << cn << "'"