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>
This commit is contained in:

committed by
Junio C Hamano

parent
7bbc4e8fdb
commit
782735203c
@ -48,7 +48,7 @@ enum color_clean {
|
|||||||
CLEAN_COLOR_PROMPT = 2,
|
CLEAN_COLOR_PROMPT = 2,
|
||||||
CLEAN_COLOR_HEADER = 3,
|
CLEAN_COLOR_HEADER = 3,
|
||||||
CLEAN_COLOR_HELP = 4,
|
CLEAN_COLOR_HELP = 4,
|
||||||
CLEAN_COLOR_ERROR = 5,
|
CLEAN_COLOR_ERROR = 5
|
||||||
};
|
};
|
||||||
|
|
||||||
#define MENU_OPTS_SINGLETON 01
|
#define MENU_OPTS_SINGLETON 01
|
||||||
|
2
pretty.c
2
pretty.c
@ -274,7 +274,7 @@ static void add_rfc822_quoted(struct strbuf *out, const char *s, int len)
|
|||||||
|
|
||||||
enum rfc2047_type {
|
enum rfc2047_type {
|
||||||
RFC2047_SUBJECT,
|
RFC2047_SUBJECT,
|
||||||
RFC2047_ADDRESS,
|
RFC2047_ADDRESS
|
||||||
};
|
};
|
||||||
|
|
||||||
static int is_rfc2047_special(char ch, enum rfc2047_type type)
|
static int is_rfc2047_special(char ch, enum rfc2047_type type)
|
||||||
|
Reference in New Issue
Block a user