From: Amos Jeffries Date: Sun, 12 Feb 2017 09:33:47 +0000 (+1300) Subject: Better fix for bug 4663 X-Git-Tag: M-staged-PR71~274 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e339f8a07c9fad05c483a49b9d2e695a763de48e;p=thirdparty%2Fsquid.git Better fix for bug 4663 --- diff --git a/src/security/Handshake.cc b/src/security/Handshake.cc index efd27940a5..7a073c574b 100644 --- a/src/security/Handshake.cc +++ b/src/security/Handshake.cc @@ -547,8 +547,8 @@ 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. - debugs(83, 2, "TLS parsing is not supported without OpenSSL. " << - raw << ", cert=" << pCert.get()); + (void)pCert; + debugs(83, 2, "TLS parsing is not supported without OpenSSL. " << raw); #endif }