pathencode: eliminate comma at end of enum list to avoid pedantic warning
authorYuya Nishihara <yuya@tcha.org>
Fri, 19 Apr 2013 01:34:21 +0900
changeset 19051 55c6ab8163ec
parent 19050 601c1e226889
child 19052 63a783d1ac85
pathencode: eliminate comma at end of enum list to avoid pedantic warning
mercurial/pathencode.c
--- 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)