Remove unneeded variable.
authorRobert Haas <rhaas@postgresql.org>
Mon, 9 Jun 2014 18:33:26 +0000 (18:33 +0000)
committerRobert Haas <rhaas@postgresql.org>
Mon, 9 Jun 2014 18:33:26 +0000 (18:33 +0000)
src/backend/utils/mmgr/balloc.c

index 3928c85ca01a6437f929522f7f49a4f468ad2c89..fb751a9f75ddf71ed7b5bc51e6e952714289ca8e 100644 (file)
@@ -207,13 +207,11 @@ static MemoryContextMethods BlockAllocatorMethods = {
 MemoryContext
 BlockAllocatorContextCreate(MemoryContext parent, const char *name)
 {
-       Size    allocator_size;
        int             heapno;
        int             fclass;
        BlockAllocatorContext *context;
        char   *base = NULL;
 
-       allocator_size = sizeof(BlockAllocatorContext);
        context = (BlockAllocatorContext *)
                MemoryContextCreate(T_BlockAllocatorContext,
                                                        sizeof(BlockAllocatorContext),