Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf1d26d3

Browse files
committed
Remove trailing commas in enums.
These aren't valid C89. Found thanks to gcc's -Wc90-c99-compat. Theseexist in differing places in most supported branches.
1 parent34bf6bc commitf1d26d3

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

‎src/backend/access/transam/xlog.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ typedef enum
552552
XLOG_FROM_ANY=0,/* request to read WAL from any source */
553553
XLOG_FROM_ARCHIVE,/* restored using restore_command */
554554
XLOG_FROM_PG_XLOG,/* existing file in pg_xlog */
555-
XLOG_FROM_STREAM,/* streamed from master */
555+
XLOG_FROM_STREAM/* streamed from master */
556556
}XLogSource;
557557

558558
/* human-readable names for XLogSources, for debugging output */

‎src/include/catalog/objectaccess.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ typedef enum ObjectAccessType
4545
OAT_DROP,
4646
OAT_POST_ALTER,
4747
OAT_NAMESPACE_SEARCH,
48-
OAT_FUNCTION_EXECUTE,
48+
OAT_FUNCTION_EXECUTE
4949
}ObjectAccessType;
5050

5151
/*

‎src/include/pgstat.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ typedef enum BackendState
640640
STATE_IDLEINTRANSACTION,
641641
STATE_FASTPATH,
642642
STATE_IDLEINTRANSACTION_ABORTED,
643-
STATE_DISABLED,
643+
STATE_DISABLED
644644
}BackendState;
645645

646646
/* ----------

‎src/include/utils/jsonapi.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ typedef enum
3030
JSON_TOKEN_TRUE,
3131
JSON_TOKEN_FALSE,
3232
JSON_TOKEN_NULL,
33-
JSON_TOKEN_END,
33+
JSON_TOKEN_END
3434
}JsonTokenType;
3535

3636

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp