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

+1-1
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

+2-2
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)