aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Gustafsson <dgustafsson@postgresql.org>2024-03-29 23:51:43 +0100
committerDaniel Gustafsson <dgustafsson@postgresql.org>2024-03-29 23:51:43 +0100
commita96a8b15fa4e00b78ac7dd7f37ff7f871aa248f6 (patch)
treef0121d89fe610f6ecb51605ad92441d723fb086c /src
parent46a44dc372033da9bd8b9840711e560c9d73e768 (diff)
downloadpostgresql-a96a8b15fa4e00b78ac7dd7f37ff7f871aa248f6.tar.gz
postgresql-a96a8b15fa4e00b78ac7dd7f37ff7f871aa248f6.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/include/lib/radixtree.h2
-rw-r--r--src/test/modules/test_tidstore/test_tidstore.c2
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++)