From: Amos Jeffries Date: Fri, 30 Nov 2012 13:31:52 +0000 (-0700) Subject: Remove MemPoolChunked::memPID X-Git-Tag: SQUID_3_2_4~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c17466894efa9d7a4bae8b35f683b460ea60df7;p=thirdparty%2Fsquid.git Remove MemPoolChunked::memPID This member variable appears to have been missed when MemPool was split into generic framework and specific Chunked implementation. (rev:10513.1.1 aka trunk rev:10517) The memPID and its maintenance code was moved into MemImplementingAllocator but this definition left here un-initialized and shadowing the framework member. Detected by Coverity Scan. Issue 740506. --- diff --git a/include/MemPoolChunked.h b/include/MemPoolChunked.h index 78b24b83a0..7ef4a95acf 100644 --- a/include/MemPoolChunked.h +++ b/include/MemPoolChunked.h @@ -56,7 +56,6 @@ public: size_t chunk_size; int chunk_capacity; - int memPID; int chunkCount; void *freeCache; MemChunk *nextFreeChunk;