Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 4637123

Browse files
committed
Remove spurious semicolons.
Petr Jelinek
1 parent 2366761 commit 4637123

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
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
@@ -13778,7 +13778,7 @@ makeRangeVarFromAnyName(List *names, int position, core_yyscan_t yyscanner)
1377813778
r->relname = strVal(lsecond(names));
1377913779
break;
1378013780
case 3:
13781-
r->catalogname = strVal(linitial(names));;
13781+
r->catalogname = strVal(linitial(names));
1378213782
r->schemaname = strVal(lsecond(names));
1378313783
r->relname = strVal(lthird(names));
1378413784
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
@@ -166,7 +166,7 @@ static inline void
166166
lex_expect(JsonParseContext ctx, JsonLexContext *lex, JsonTokenType token)
167167
{
168168
if (!lex_accept(lex, token, NULL))
169-
report_parse_error(ctx, lex);;
169+
report_parse_error(ctx, lex);
170170
}
171171

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

src/backend/utils/adt/jsonfuncs.c

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

26602660
/* make these in a sufficiently long-lived memory context */
26612661
old_cxt = MemoryContextSwitchTo(rsi->econtext->ecxt_per_query_memory);
2662-
state->ret_tdesc = CreateTupleDescCopy(tupdesc);;
2662+
state->ret_tdesc = CreateTupleDescCopy(tupdesc);
26632663
BlessTupleDesc(state->ret_tdesc);
26642664
state->tuple_store = tuplestore_begin_heap(rsi->allowedModes &
26652665
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)