]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Remove unused variable in client_side.cc
authorFrancesco Chemolli <kinkie@squid-cache.org>
Wed, 23 Jan 2013 16:23:36 +0000 (17:23 +0100)
committerFrancesco Chemolli <kinkie@squid-cache.org>
Wed, 23 Jan 2013 16:23:36 +0000 (17:23 +0100)
Detected by Coverity Scan. Issue 740595.

src/client_side.cc

index aa337df593c3f57ed9be568bc05439ed65a791e6..24101ea01dd048453fd54ce4869e7f7ff943a563 100644 (file)
@@ -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.