From: Amos Jeffries Date: Sat, 24 Nov 2012 03:54:01 +0000 (-0700) Subject: Remove MemPoolChunked::memPID X-Git-Tag: SQUID_3_3_0_2~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da75808b25c5785e488557225cd3725129244af0;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;