Fix stray double semicolons
authorPeter Eisentraut <peter@eisentraut.org>
Wed, 24 Mar 2021 19:42:05 +0000 (20:42 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Wed, 24 Mar 2021 19:42:51 +0000 (20:42 +0100)
Reported-by: John Naylor <john.naylor@enterprisedb.com>
src/backend/access/brin/brin_minmax.c
src/backend/utils/adt/timestamp.c

index 330bed0487189f07f605f9f831eda2f299c62793..032629950f13e0875d926de18f0cae6f5285d8b2 100644 (file)
@@ -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);
index 49be01e83f5504dd663d2a32ab08ce02bfa01c4f..f619b56d6f5465bfa457b7ec1dc7afd98542c307 100644 (file)
@@ -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;