Skip to content

Commit 1d0db8d

Browse files
committed
Remove spurious semicolons.
Petr Jelinek
1 parent fa1e5af commit 1d0db8d

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

contrib/postgres_fdw/deparse.c

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

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

src/backend/parser/gram.y

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14308,7 +14308,7 @@ makeRangeVarFromAnyName(List *names, int position, core_yyscan_t yyscanner)
1430814308
r->relname = strVal(lsecond(names));
1430914309
break;
1431014310
case 3:
14311-
r->catalogname = strVal(linitial(names));;
14311+
r->catalogname = strVal(linitial(names));
1431214312
r->schemaname = strVal(lsecond(names));
1431314313
r->relname = strVal(lthird(names));
1431414314
break;

src/backend/replication/repl_gram.y

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ start_logical_replication:
226226
{
227227
StartReplicationCmd *cmd;
228228
cmd = makeNode(StartReplicationCmd);
229-
cmd->kind = REPLICATION_KIND_LOGICAL;;
229+
cmd->kind = REPLICATION_KIND_LOGICAL;
230230
cmd->slotname = $3;
231231
cmd->startpoint = $5;
232232
cmd->options = $6;

src/backend/utils/adt/json.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ static inline void
165165
lex_expect(JsonParseContext ctx, JsonLexContext *lex, JsonTokenType token)
166166
{
167167
if (!lex_accept(lex, token, NULL))
168-
report_parse_error(ctx, lex);;
168+
report_parse_error(ctx, lex);
169169
}
170170

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

src/backend/utils/adt/jsonb.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1592,7 +1592,7 @@ jsonb_agg_transfn(PG_FUNCTION_ARGS)
15921592
if (v.type == jbvString)
15931593
{
15941594
/* copy string values in the aggregate context */
1595-
char *buf = palloc(v.val.string.len + 1);;
1595+
char *buf = palloc(v.val.string.len + 1);
15961596
snprintf(buf, v.val.string.len + 1, "%s", v.val.string.val);
15971597
v.val.string.val = buf;
15981598
}
@@ -1753,7 +1753,7 @@ jsonb_object_agg_transfn(PG_FUNCTION_ARGS)
17531753
if (v.type == jbvString)
17541754
{
17551755
/* copy string values in the aggregate context */
1756-
char *buf = palloc(v.val.string.len + 1);;
1756+
char *buf = palloc(v.val.string.len + 1);
17571757
snprintf(buf, v.val.string.len + 1, "%s", v.val.string.val);
17581758
v.val.string.val = buf;
17591759
}
@@ -1811,7 +1811,7 @@ jsonb_object_agg_transfn(PG_FUNCTION_ARGS)
18111811
if (v.type == jbvString)
18121812
{
18131813
/* copy string values in the aggregate context */
1814-
char *buf = palloc(v.val.string.len + 1);;
1814+
char *buf = palloc(v.val.string.len + 1);
18151815
snprintf(buf, v.val.string.len + 1, "%s", v.val.string.val);
18161816
v.val.string.val = buf;
18171817
}

src/backend/utils/adt/jsonfuncs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2675,7 +2675,7 @@ populate_recordset_worker(FunctionCallInfo fcinfo, const char *funcname,
26752675

26762676
/* make these in a sufficiently long-lived memory context */
26772677
old_cxt = MemoryContextSwitchTo(rsi->econtext->ecxt_per_query_memory);
2678-
state->ret_tdesc = CreateTupleDescCopy(tupdesc);;
2678+
state->ret_tdesc = CreateTupleDescCopy(tupdesc);
26792679
BlessTupleDesc(state->ret_tdesc);
26802680
state->tuple_store = tuplestore_begin_heap(rsi->allowedModes &
26812681
SFRM_Materialize_Random,

src/backend/utils/adt/oracle_compat.c

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

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