From 37c99d304dcbf12ab581ff031f394af93b750895 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Wed, 24 Mar 2021 20:42:05 +0100 Subject: [PATCH] Fix stray double semicolons Reported-by: John Naylor --- src/backend/access/brin/brin_minmax.c | 2 +- src/backend/utils/adt/timestamp.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/backend/access/brin/brin_minmax.c b/src/backend/access/brin/brin_minmax.c index 330bed0487..032629950f 100644 --- a/src/backend/access/brin/brin_minmax.c +++ b/src/backend/access/brin/brin_minmax.c @@ -171,7 +171,7 @@ brin_minmax_consistent(PG_FUNCTION_ARGS) * break out of the loop as soon as a false return value is obtained. */ if (!minmax_consistent_key(bdesc, column, key, colloid)) - PG_RETURN_DATUM(false);; + PG_RETURN_DATUM(false); } PG_RETURN_DATUM(true); diff --git a/src/backend/utils/adt/timestamp.c b/src/backend/utils/adt/timestamp.c index 49be01e83f..f619b56d6f 100644 --- a/src/backend/utils/adt/timestamp.c +++ b/src/backend/utils/adt/timestamp.c @@ -3842,7 +3842,7 @@ timestamp_bin(PG_FUNCTION_ARGS) stride_usecs = stride->day * USECS_PER_DAY + stride->time; tm_diff = timestamp - origin; - tm_delta = tm_diff - tm_diff % stride_usecs;; + tm_delta = tm_diff - tm_diff % stride_usecs; result = origin + tm_delta; @@ -4013,7 +4013,7 @@ timestamptz_bin(PG_FUNCTION_ARGS) stride_usecs = stride->day * USECS_PER_DAY + stride->time; tm_diff = timestamp - origin; - tm_delta = tm_diff - tm_diff % stride_usecs;; + tm_delta = tm_diff - tm_diff % stride_usecs; result = origin + tm_delta;