From: Carl Worth Date: Sat, 9 Nov 2013 16:26:30 +0000 (-0800) Subject: Remove unused parameter from RESTORE_METRICS_OP macro. X-Git-Url: https://git.cworth.org/git?p=fips;a=commitdiff_plain;h=de8d00c71c256ab967ece877050b5dbffe66b19d 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. --- 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