From de8d00c71c256ab967ece877050b5dbffe66b19d Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Sat, 9 Nov 2013 08:26:30 -0800 Subject: [PATCH] Remove unused parameter from RESTORE_METRICS_OP macro. 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glwrap.c b/glwrap.c index 4b865f5..42eaa80 100644 --- 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 -- 2.43.0