aboutsummaryrefslogtreecommitdiffstats
path: root/libgamma_name_of_error.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--libgamma_name_of_error.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libgamma_name_of_error.c b/libgamma_name_of_error.c
index 56de28a..bd34998 100644
--- a/libgamma_name_of_error.c
+++ b/libgamma_name_of_error.c
@@ -13,8 +13,9 @@ const char *
libgamma_name_of_error(int value)
{
switch (value) {
-#define X(NAME, DESC)\
- case NAME: return #NAME;
+#define X(NAME, ...)\
+ case NAME:\
+ return #NAME;
LIST_ERRORS(X)
#undef X
default: