]> git.cworth.org Git - fips/commitdiff
Remove unused parameter from RESTORE_METRICS_OP macro.
authorCarl Worth <cworth@cworth.org>
Sat, 9 Nov 2013 16:26:30 +0000 (08:26 -0800)
committerCarl Worth <cworth@cworth.org>
Sat, 9 Nov 2013 16:26:30 +0000 (08:26 -0800)
Oddly enough, this wasn't actually having any effect. Apparently it's
legitimate to pass empty arguments to function-like macros. But this
wasn't the intention here. I had intended for this macro to never
accept any argument.

glwrap.c

index 4b865f55d7e03c04e094efaa47ec0374a9e26eb7..42eaa80e2766bc8261f85402564cbf2343734f48 100644 (file)
--- a/glwrap.c
+++ b/glwrap.c
@@ -83,7 +83,7 @@ static void *gl_handle;
        SWITCH_METRICS_OP (op);
 
 /* Switch back to metrics operation saved by SAVE_THEN_SWITCH_METRICS_OP */
-#define RESTORE_METRICS_OP(op)                         \
+#define RESTORE_METRICS_OP()                           \
        SWITCH_METRICS_OP (save);
 
 void