Mercurial > public > mercurial-scm > hg-stable
diff mercurial/pathencode.c @ 19051:55c6ab8163ec
pathencode: eliminate comma at end of enum list to avoid pedantic warning
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Fri, 19 Apr 2013 01:34:21 +0900 |
parents | 8bd338c7c4c9 |
children | 8bed40e02c3b |
line wrap: on
line diff
--- a/mercurial/pathencode.c Fri Apr 19 01:26:23 2013 +0900 +++ b/mercurial/pathencode.c Fri Apr 19 01:34:21 2013 +0900 @@ -45,7 +45,7 @@ H, /* ".h" */ HGDI, /* ".hg", ".d", or ".i" */ SPACE, - DEFAULT, /* byte of a path component after the first */ + DEFAULT /* byte of a path component after the first */ }; /* state machine for dir-encoding */ @@ -53,7 +53,7 @@ DDOT, DH, DHGDI, - DDEFAULT, + DDEFAULT }; static inline int inset(const uint32_t bitset[], char c)