Skip to content

Commit 7827352

Browse files
rsahlberggitster
authored andcommitted
enums: remove trailing ',' after last item in enum
Signed-off-by: Ronnie Sahlberg <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 7bbc4e8 commit 7827352

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

builtin/clean.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ enum color_clean {
4848
CLEAN_COLOR_PROMPT = 2,
4949
CLEAN_COLOR_HEADER = 3,
5050
CLEAN_COLOR_HELP = 4,
51-
CLEAN_COLOR_ERROR = 5,
51+
CLEAN_COLOR_ERROR = 5
5252
};
5353

5454
#define MENU_OPTS_SINGLETON 01

pretty.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ static void add_rfc822_quoted(struct strbuf *out, const char *s, int len)
274274

275275
enum rfc2047_type {
276276
RFC2047_SUBJECT,
277-
RFC2047_ADDRESS,
277+
RFC2047_ADDRESS
278278
};
279279

280280
static int is_rfc2047_special(char ch, enum rfc2047_type type)

0 commit comments

Comments
 (0)