mirror of
https://github.com/postgres/postgres.git
synced 2025-11-24 00:23:06 +03:00
remove redundant initializations
Reported-by: Ranier Vilela Discussion: https://postgr.es/m/CAEudQAo1+AcGppxDSg8k+zF4+Kv+eJyqzEDdbpDg58-=MQcerQ@mail.gmail.com Author: Ranier Vilela Backpatch-through: master
This commit is contained in:
@@ -476,7 +476,7 @@ MemoryContextMemAllocated(MemoryContext context, bool recurse)
|
||||
|
||||
if (recurse)
|
||||
{
|
||||
MemoryContext child = context->firstchild;
|
||||
MemoryContext child;
|
||||
|
||||
for (child = context->firstchild;
|
||||
child != NULL;
|
||||
|
||||
Reference in New Issue
Block a user