diff --git a/src/security/Handshake.cc b/src/security/Handshake.cc index 7a073c574b6..73c7a70d656 100644 --- a/src/security/Handshake.cc +++ b/src/security/Handshake.cc @@ -547,7 +547,7 @@ Security::HandshakeParser::ParseCertificate(const SBuf &raw, Security::CertPoint Must(x509Pos == x509Start + raw.length()); // no leftovers #else // workaround GCC -O3 error with unused variables. see bug 4663. - (void)pCert; + pCert = nullptr; debugs(83, 2, "TLS parsing is not supported without OpenSSL. " << raw); #endif }