Use __VA_ARGS__ for all of error's arguments
authorMatt Kraai <matt.kraai@amo.abbott.com>
Fri, 8 Feb 2013 15:09:28 +0000 (07:09 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 8 Feb 2013 16:22:28 +0000 (08:22 -0800)
commit9798f7e5f948b2586c33d850f6a00d4fc0537d75
tree23325254b8f8ca10ed6a15337fae4a0b47008061
parenta469a1019352b8efc4bd7003b0bd59eb60fc428c
Use __VA_ARGS__ for all of error's arguments

QNX 6.3.2 uses GCC 2.95.3 by default, and GCC 2.95.3 doesn't remove the
comma if the error macro's variable argument is left out.

Instead of testing for a sufficiently recent version of GCC, make
__VA_ARGS__ match all of the arguments.

Signed-off-by: Matt Kraai <matt.kraai@amo.abbott.com>
Acked-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-compat-util.h