From b6e716f4ece4105eeaa2ff8971d1e0b6a78f73be Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sat, 3 Aug 2019 22:32:57 +0100 Subject: plot/generic: Use better UNUSED() equivalent Signed-off-by: Daniel Silverstone --- src/plot/generic.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/plot/generic.c b/src/plot/generic.c index ea0bb04..15654b0 100644 --- a/src/plot/generic.c +++ b/src/plot/generic.c @@ -615,13 +615,13 @@ copy(nsfb_t *nsfb, nsfb_bbox_t *srcbox, nsfb_bbox_t *dstbox) static bool arc(nsfb_t *nsfb, int x, int y, int radius, int angle1, int angle2, nsfb_colour_t c) { - nsfb=nsfb; - x = x; - y = y; - radius = radius; - c = c; - angle1=angle1; - angle2=angle2; + (void)nsfb; + (void)x; + (void)y; + (void)radius; + (void)c; + (void)angle1; + (void)angle2; return true; } -- cgit v1.2.3