Remove superfluous trailing semicolons
authorDaniel Gustafsson <dgustafsson@postgresql.org>
Fri, 29 Mar 2024 22:51:43 +0000 (23:51 +0100)
committerDaniel Gustafsson <dgustafsson@postgresql.org>
Fri, 29 Mar 2024 22:51:43 +0000 (23:51 +0100)
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
src/test/modules/test_tidstore/test_tidstore.c

index 5fe89134a5ef349edcefb4a3a100e60bdb21f5ef..6f36e8bfde300e46208b992d8d237b63cf647d7a 100644 (file)
@@ -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);
index 3d4af77dda14a4c58484759682a3f6872aa37acf..32c6c477b7256a96471230fda43d418d05a1afea 100644 (file)
@@ -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++)