]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Remove spurious semicolons.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 31 Mar 2015 12:12:27 +0000 (15:12 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 31 Mar 2015 12:13:35 +0000 (15:13 +0300)
Petr Jelinek

contrib/postgres_fdw/deparse.c
src/backend/parser/gram.y
src/backend/replication/repl_gram.y
src/backend/utils/adt/json.c
src/backend/utils/adt/jsonfuncs.c
src/backend/utils/adt/oracle_compat.c

index 1552c42688b63d0710724023857bdd9ee9d05689..436e44caddf8fb1b43d9599baa66702e98a24bab 100644 (file)
@@ -317,7 +317,7 @@ foreign_expr_walker(Node *node,
                        break;
                case T_ArrayRef:
                        {
-                               ArrayRef   *ar = (ArrayRef *) node;;
+                               ArrayRef   *ar = (ArrayRef *) node;
 
                                /* Assignment should not be in restrictions. */
                                if (ar->refassgnexpr != NULL)
index 9d558a7b19e4457f8b504c0b90b0ccaec06a36e3..0282dce62f967b212a21b453a09d67e51b4183eb 100644 (file)
@@ -13778,7 +13778,7 @@ makeRangeVarFromAnyName(List *names, int position, core_yyscan_t yyscanner)
                        r->relname = strVal(lsecond(names));
                        break;
                case 3:
-                       r->catalogname = strVal(linitial(names));;
+                       r->catalogname = strVal(linitial(names));
                        r->schemaname = strVal(lsecond(names));
                        r->relname = strVal(lthird(names));
                        break;
index 154aaace9f50721a0ae55b60afd7ac23e2ed5f8c..90e696663e5da031832375ddf9af841c0cfeb29f 100644 (file)
@@ -226,7 +226,7 @@ start_logical_replication:
                                {
                                        StartReplicationCmd *cmd;
                                        cmd = makeNode(StartReplicationCmd);
-                                       cmd->kind = REPLICATION_KIND_LOGICAL;;
+                                       cmd->kind = REPLICATION_KIND_LOGICAL;
                                        cmd->slotname = $3;
                                        cmd->startpoint = $5;
                                        cmd->options = $6;
index ed27f72f1dd9456d0f047ae205e30478c0f8e18e..d8052eec4dec63ac106a697dd5abb6e15dfcf893 100644 (file)
@@ -166,7 +166,7 @@ static inline void
 lex_expect(JsonParseContext ctx, JsonLexContext *lex, JsonTokenType token)
 {
        if (!lex_accept(lex, token, NULL))
-               report_parse_error(ctx, lex);;
+               report_parse_error(ctx, lex);
 }
 
 /* chars to consider as part of an alphanumeric token */
index 2d00dbed4bd67f564610476297735b91dd69f930..076b00f213cb919a1796d67b6f86a1dcbeeb2c15 100644 (file)
@@ -2659,7 +2659,7 @@ populate_recordset_worker(FunctionCallInfo fcinfo, const char *funcname,
 
        /* make these in a sufficiently long-lived memory context */
        old_cxt = MemoryContextSwitchTo(rsi->econtext->ecxt_per_query_memory);
-       state->ret_tdesc = CreateTupleDescCopy(tupdesc);;
+       state->ret_tdesc = CreateTupleDescCopy(tupdesc);
        BlessTupleDesc(state->ret_tdesc);
        state->tuple_store = tuplestore_begin_heap(rsi->allowedModes &
                                                                                           SFRM_Materialize_Random,
index ba3d5d6e1399fb8f0dd41dcf0cdc515b9b031705..20d31444776f6fbeb83923ce2468dd67527cf1bf 100644 (file)
@@ -959,7 +959,7 @@ chr                 (PG_FUNCTION_ARGS)
                if (bytes == 2)
                {
                        wch[0] = 0xC0 | ((cvalue >> 6) & 0x1F);
-                       wch[1] = 0x80 | (cvalue & 0x3F);;
+                       wch[1] = 0x80 | (cvalue & 0x3F);
                }
                else if (bytes == 3)
                {