git-compat-util.h: some platforms with mmap() lack MAP_FAILED definition
[gitweb.git] / pretty.c
index 7cb3a2af508bb5667cd74304f72b50766c749990..9a704ec41ebfc8f5490b0dc117f3a0067b6f6c18 100644 (file)
--- a/pretty.c
+++ b/pretty.c
@@ -828,7 +828,7 @@ static size_t format_commit_item(struct strbuf *sb, const char *placeholder,
        enum {
                NO_MAGIC,
                ADD_LF_BEFORE_NON_EMPTY,
-               DEL_LF_BEFORE_EMPTY,
+               DEL_LF_BEFORE_EMPTY
        } magic = NO_MAGIC;
 
        switch (placeholder[0]) {