From: Amos Jeffries Date: Sun, 15 Nov 2015 13:40:50 +0000 (-0800) Subject: Remove unused ClientSocketContext::next member X-Git-Tag: SQUID_4_0_3~5^2~13 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7114fb105bdcddfde12c9e1db7b2cda9e94d41c9;p=thirdparty%2Fsquid.git Remove unused ClientSocketContext::next member --- diff --git a/src/client_side.cc b/src/client_side.cc index a0b0b126a2..28542fadc6 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -235,9 +235,6 @@ ClientSocketContext::~ClientSocketContext() } httpRequestFree(http); - - /* clean up connection links to us */ - assert(this != next.getRaw()); } void @@ -271,7 +268,6 @@ ClientSocketContext::ClientSocketContext(const Comm::ConnectionPointer &aConn, C clientConnection(aConn), http(aReq), reply(NULL), - next(NULL), writtenToSocket(0), mayUseConnection_ (false), connRegistered_ (false) diff --git a/src/client_side.h b/src/client_side.h index cc467358b6..f315616612 100644 --- a/src/client_side.h +++ b/src/client_side.h @@ -82,7 +82,6 @@ public: ClientHttpRequest *http; /* we pretend to own that job */ HttpReply *reply; char reqbuf[HTTP_REQBUF_SZ]; - Pointer next; struct {