8000 Remove spurious semicolons. · rowhit/postgres@9f06729 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9f06729

Browse files
committed
Remove spurious semicolons.
Petr Jelinek
1 parent 0904eb3 commit 9f06729

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

contrib/postgres_fdw/deparse.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ foreign_expr_walker(Node *node,
316316
break;
317317
case T_ArrayRef:
318318
{
319-
ArrayRef *ar = (ArrayRef *) node;;
319+
ArrayRef *ar = (ArrayRef *) node;
320320

321321
/* Assignment should not be in restrictions. */
322322
if (ar->refassgnexpr != NULL)

src/backend/parser/gram.y

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13648,7 +13648,7 @@ makeRangeVarFromAnyName(List *names, int position, core_yyscan_t yyscanner)
1364813648
r->relname = strVal(lsecond(names));
1364913649
break;
1365013650
case 3:
13651-
r->catalogname = strVal(linitial(names));;
13651+
r->catalogname = strVal(linitial(names));
1365213652
r->schemaname = strVal(lsecond(names));
1365313653
r->relname = strVal(lthird(names));
1365413654
break;

src/backend/utils/adt/json.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ static inline void
154154
lex_expect(JsonParseContext ctx, JsonLexContext *lex, JsonTokenType token)
155155
{
156156
if (!lex_accept(lex, token, NULL))
157-
report_parse_error(ctx, lex);;
157+
report_parse_error(ctx, lex);
158158
}
159159

160160
/* chars to consider as part of an alphanumeric token */

src/backend/utils/adt/oracle_compat.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -955,7 +955,7 @@ chr (PG_FUNCTION_ARGS)
955955
if (bytes == 2)
956956
{
957957
wch[0] = 0xC0 | ((cvalue >> 6) & 0x1F);
958-
wch[1] = 0x80 | (cvalue & 0x3F);;
958+
wch[1] = 0x80 | (cvalue & 0x3F);
959959
}
960960
else if (bytes == 3)
961961
{

0 commit comments

Comments
 (0)
0