From: Andres Freund <andres@anarazel.de>
Date: Fri, 15 Apr 2016 01:54:06 +0000 (-0700)
Subject: Remove trailing commas in enums.
X-Git-Tag: REL9_1_22~19
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ccf893c4bdef19a778a621a4290c85716a257e72;p=postgresql

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.
---

diff --git a/src/include/catalog/objectaccess.h b/src/include/catalog/objectaccess.h
index 8f52022301..a87c60f8c8 100644
--- a/src/include/catalog/objectaccess.h
+++ b/src/include/catalog/objectaccess.h
@@ -23,7 +23,7 @@
  */
 typedef enum ObjectAccessType
 {
-	OAT_POST_CREATE,
+	OAT_POST_CREATE
 } ObjectAccessType;
 
 /*