From f426fcee41a89abb9aea55a9ddb54f4f2ee4dbd9 Mon Sep 17 00:00:00 2001 From: Nigel Stewart Date: Sun, 25 Dec 2016 00:49:20 +1000 Subject: [PATCH] Tidy up use of unsued parameter attribute for Mac gcc builds --- src/visualinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/visualinfo.c b/src/visualinfo.c index d089207..99e8c63 100644 --- a/src/visualinfo.c +++ b/src/visualinfo.c @@ -617,7 +617,7 @@ VisualInfo (GLContext* ctx) #elif defined(__APPLE__) && !defined(GLEW_APPLE_GLX) void -VisualInfo (GLContext* __attribute__((__unused__)) ctx) +VisualInfo (__attribute__((unused)) GLContext* ctx) { /* int attrib[] = { AGL_RGBA, AGL_NONE };