changeset 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 601c1e226889
children 63a783d1ac85
files mercurial/pathencode.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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)