Skip to content

Commit 37c99d3

Browse files
committed
Fix stray double semicolons
Reported-by: John Naylor <john.naylor@enterprisedb.com>
1 parent 5173e42 commit 37c99d3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/backend/access/brin/brin_minmax.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ brin_minmax_consistent(PG_FUNCTION_ARGS)
171171
* break out of the loop as soon as a false return value is obtained.
172172
*/
173173
if (!minmax_consistent_key(bdesc, column, key, colloid))
174-
PG_RETURN_DATUM(false);;
174+
PG_RETURN_DATUM(false);
175175
}
176176

177177
PG_RETURN_DATUM(true);

src/backend/utils/adt/timestamp.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3842,7 +3842,7 @@ timestamp_bin(PG_FUNCTION_ARGS)
38423842
stride_usecs = stride->day * USECS_PER_DAY + stride->time;
38433843

38443844
tm_diff = timestamp - origin;
3845-
tm_delta = tm_diff - tm_diff % stride_usecs;;
3845+
tm_delta = tm_diff - tm_diff % stride_usecs;
38463846

38473847
result = origin + tm_delta;
38483848

@@ -4013,7 +4013,7 @@ timestamptz_bin(PG_FUNCTION_ARGS)
40134013
stride_usecs = stride->day * USECS_PER_DAY + stride->time;
40144014

40154015
tm_diff = timestamp - origin;
4016-
tm_delta = tm_diff - tm_diff % stride_usecs;;
4016+
tm_delta = tm_diff - tm_diff % stride_usecs;
40174017

40184018
result = origin + tm_delta;
40194019

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy