postgres.git / summary / log / commit / refs

commit    a96a8b15fa4e00b78ac7dd7f37ff7f871aa248f6
Author:   Daniel Gustafsson <dgustafsson@postgresql.org>
Date:     Fri Mar 29 22:51:43 2024 +0000
First released in: 17.0

    Remove superfluous trailing semicolons
    
    Two semicolons were accidentally added to rows which were already
    terminated semicolons.  While harmless, fix by removing these.
    
    Author: Richard Guo <guofenglinux@gmail.com>
    Discussion: https://postgr.es/m/CAMbWs4_fnJ0+yOgFioswzLE7t6R8P6cqbuacFVeZqbESFAjs1A@mail.gmail.com


src/include/lib/radixtree.h | 2 +- src/test/modules/test_tidstore/test_tidstore.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/include/lib/radixtree.h b/src/include/lib/radixtree.h index 5fe89134a5e..6f36e8bfde3 100644 --- a/src/include/lib/radixtree.h +++ b/src/include/lib/radixtree.h @@ -2499,7 +2499,7 @@ RT_REMOVE_CHILD_4(RT_RADIX_TREE * tree, RT_PTR_ALLOC * parent_slot, RT_CHILD_PTR } else { - int deletepos = slot - n4->children;; + int deletepos = slot - n4->children; Assert(deletepos >= 0); Assert(n4->chunks[deletepos] == chunk); diff --git a/src/test/modules/test_tidstore/test_tidstore.c b/src/test/modules/test_tidstore/test_tidstore.c index 3d4af77dda1..32c6c477b72 100644 --- a/src/test/modules/test_tidstore/test_tidstore.c +++ b/src/test/modules/test_tidstore/test_tidstore.c @@ -199,7 +199,7 @@ check_set_block_offsets(PG_FUNCTION_ARGS) TidStoreIterResult *iter_result; int num_iter_tids = 0; int num_lookup_tids = 0; - BlockNumber prevblkno = 0;; + BlockNumber prevblkno = 0; /* lookup each member in the verification array */ for (int i = 0; i < items.num_tids; i++) [parent: 46a44dc37203]