From 782735203c316041df120748e5e88c1787cdf4da Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Wed, 2 Jul 2014 11:24:05 -0700 Subject: [PATCH] enums: remove trailing ',' after last item in enum Signed-off-by: Ronnie Sahlberg Signed-off-by: Junio C Hamano --- builtin/clean.c | 2 +- pretty.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/builtin/clean.c b/builtin/clean.c index 615cd57caf..ceab18257e 100644 --- a/builtin/clean.c +++ b/builtin/clean.c @@ -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 diff --git a/pretty.c b/pretty.c index 962e82be86..296cb5680a 100644 --- 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) -- 2.11.4.GIT