From: Francesco Chemolli Date: Wed, 23 Jan 2013 16:23:36 +0000 (+0100) Subject: Remove unused variable in client_side.cc X-Git-Tag: SQUID_3_4_0_1~355 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9b1d8c61436256da60f289b84f1b91865421ee2;p=thirdparty%2Fsquid.git Remove unused variable in client_side.cc Detected by Coverity Scan. Issue 740595. --- diff --git a/src/client_side.cc b/src/client_side.cc index aa337df593..24101ea01d 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -3905,8 +3905,7 @@ ConnStateData::getSslContextDone(SSL_CTX * sslContext, bool isNew) } } - SSL *ssl = NULL; - if (!(ssl = httpsCreate(clientConnection, sslContext))) + if (!httpsCreate(clientConnection, sslContext)) return; // commSetConnTimeout() was called for this request before we switched.