Tony Sweeney wrote on Wed, Oct 19, 2011 at 11:10:35 +0100:
> The trailing comma is explicitly invalid per ANSI C 89 (though some
> compilers, notably GCC, permitted it).  C99 removes this restriction.
> It's valid everywhere without the comma, so it's perfectly safe (and
> probably desirable) to remove it.

Exactly.

If someone wants to send a patch, though, it would be nice to also fix
all other instances of a trailing comma in the C code.  (There is at
least one such instance in subversion/svn/main.c.)

Reply via email to