summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2019-08-03 22:32:57 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2019-08-03 22:32:57 +0100
commitb6e716f4ece4105eeaa2ff8971d1e0b6a78f73be (patch)
tree2f91968284f4219f9e600fd7f59f5a467c3f2e5f
parentf23427a39e21b1b613a5582181d8067b54aa645b (diff)
downloadlibnsfb-b6e716f4ece4105eeaa2ff8971d1e0b6a78f73be.tar.gz
libnsfb-b6e716f4ece4105eeaa2ff8971d1e0b6a78f73be.tar.bz2
plot/generic: Use better UNUSED() equivalent
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
-rw-r--r--src/plot/generic.c14
1 files 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;
}