]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Remove MemPoolChunked::memPID
authorAmos Jeffries <squid3@treenet.co.nz>
Sun, 18 Nov 2012 10:02:38 +0000 (03:02 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Sun, 18 Nov 2012 10:02:38 +0000 (03:02 -0700)
This member variable appears to have been missed when MemPool was split
into generic framework and specific Chunked implementation.
 (rev:10513.1.1 aka trunnk rev:10517)

The memPID and its maintenance code was moved into MemImplementingAllocator
but this definitio left here un-initialized and shadowing the framework
member.

 Detected by Coverity Scan. Issue 740506.

include/MemPoolChunked.h

index 78b24b83a0698ed33747698dda465fae0ec215a4..7ef4a95acfc97a52088480fdd955cd37a2948100 100644 (file)
@@ -56,7 +56,6 @@ public:
 
     size_t chunk_size;
     int chunk_capacity;
-    int memPID;
     int chunkCount;
     void *freeCache;
     MemChunk *nextFreeChunk;