1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-29 10:41:53 +03:00

Remove trailing commas in enums.

These aren't valid C89. Found thanks to gcc's -Wc90-c99-compat. These
exist in differing places in most supported branches.
This commit is contained in:
Andres Freund
2016-04-14 18:54:06 -07:00
parent 6bb42d5204
commit b54508596d
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@
typedef enum ObjectAccessType typedef enum ObjectAccessType
{ {
OAT_POST_CREATE, OAT_POST_CREATE,
OAT_DROP, OAT_DROP
} ObjectAccessType; } ObjectAccessType;
/* /*

View File

@ -637,7 +637,7 @@ typedef enum BackendState
STATE_IDLEINTRANSACTION, STATE_IDLEINTRANSACTION,
STATE_FASTPATH, STATE_FASTPATH,
STATE_IDLEINTRANSACTION_ABORTED, STATE_IDLEINTRANSACTION_ABORTED,
STATE_DISABLED, STATE_DISABLED
} BackendState; } BackendState;
/* ---------- /* ----------