]> git.ipfire.org Git - thirdparty/git.git/commitdiff
enums: remove trailing ',' after last item in enum
authorRonnie Sahlberg <sahlberg@google.com>
Wed, 2 Jul 2014 18:24:05 +0000 (11:24 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 2 Jul 2014 19:37:05 +0000 (12:37 -0700)
Signed-off-by: Ronnie Sahlberg <sahlberg@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/clean.c
pretty.c

index 615cd57caf1d4cbeafc73e7037bae81a6915df59..ceab18257e8bd412c87a4b2ed5404d548ca72ea0 100644 (file)
@@ -48,7 +48,7 @@ enum color_clean {
        CLEAN_COLOR_PROMPT = 2,
        CLEAN_COLOR_HEADER = 3,
        CLEAN_COLOR_HELP = 4,
-       CLEAN_COLOR_ERROR = 5,
+       CLEAN_COLOR_ERROR = 5
 };
 
 #define MENU_OPTS_SINGLETON            01
index 962e82be8633217b811a8c8c87b892721b35f662..296cb5680ac6ba7a7c7670652e9287f56a1c1338 100644 (file)
--- a/pretty.c
+++ b/pretty.c
@@ -274,7 +274,7 @@ static void add_rfc822_quoted(struct strbuf *out, const char *s, int len)
 
 enum rfc2047_type {
        RFC2047_SUBJECT,
-       RFC2047_ADDRESS,
+       RFC2047_ADDRESS
 };
 
 static int is_rfc2047_special(char ch, enum rfc2047_type type)