diff options
author | Bruce Momjian | 2020-09-04 02:57:35 +0000 |
---|---|---|
committer | Bruce Momjian | 2020-09-04 02:57:35 +0000 |
commit | e36e936e0ee664e07588732d1a8d105c5ec8e57d (patch) | |
tree | b553ea0e8f269a578533657524d0d516a91c708f /src/backend/utils/mmgr | |
parent | 844c05abc3f1c1703bf17cf44ab66351ed9711d2 (diff) |
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
Diffstat (limited to 'src/backend/utils/mmgr')
-rw-r--r-- | src/backend/utils/mmgr/mcxt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/utils/mmgr/mcxt.c b/src/backend/utils/mmgr/mcxt.c index 88c76f290ce..dda70ef9f33 100644 --- a/src/backend/utils/mmgr/mcxt.c +++ b/src/backend/utils/mmgr/mcxt.c @@ -476,7 +476,7 @@ MemoryContextMemAllocated(MemoryContext context, bool recurse) if (recurse) { - MemoryContext child = context->firstchild; + MemoryContext child; for (child = context->firstchild; child != NULL; |