Skip to content

Commit

Permalink
enums: remove trailing ',' after last item in enum
Browse files Browse the repository at this point in the history
Signed-off-by: Ronnie Sahlberg <sahlberg@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Ronnie Sahlberg authored and Junio C Hamano committed Jul 2, 2014
1 parent 7bbc4e8 commit 7827352
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion builtin/clean.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pretty.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7827352

Please sign in to comment.