enums: remove trailing ',' after last item in enum

Signed-off-by: Ronnie Sahlberg <sahlberg@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Ronnie Sahlberg committed Jul 2, 2014 at 11:24 UTC 782735203c316041df120748e5e88c1787cdf4da
2 files changed +2 -2
builtin/clean.c
+1 -1
@@ -48,7 +48,7 @@ enum color_clean {
48 CLEAN_COLOR_PROMPT = 2,
49 CLEAN_COLOR_HEADER = 3,
50 CLEAN_COLOR_HELP = 4,
51 - CLEAN_COLOR_ERROR = 5,
51 + CLEAN_COLOR_ERROR = 5
52 };
53
54 #define MENU_OPTS_SINGLETON 01
pretty.c
+1 -1
@@ -274,7 +274,7 @@ static void add_rfc822_quoted(struct strbuf *out, const char *s, int len)
274
275 enum rfc2047_type {
276 RFC2047_SUBJECT,
277 - RFC2047_ADDRESS,
277 + RFC2047_ADDRESS
278 };
279
280 static int is_rfc2047_special(char ch, enum rfc2047_type type)