summaryrefslogtreecommitdiff
path: root/src/plot/generic.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plot/generic.c')
-rw-r--r--src/plot/generic.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/plot/generic.c b/src/plot/generic.c
index ea0bb04..e343390 100644
--- a/src/plot/generic.c
+++ b/src/plot/generic.c
@@ -267,7 +267,7 @@ static bool polygon(nsfb_t *nsfb, const int *p, unsigned int n, nsfb_colour_t c)
int poly_x0, poly_y0; /* Bounding box top left corner */
int poly_x1, poly_y1; /* Bounding box bottom right corner */
int i, j; /* indexes */
- int x0, x1; /* filled span extents */
+ int x0 = 0, x1 = 0; /* filled span extents */
int y; /* current y coordinate */
int y_max; /* bottom of plot area */
nsfb_bbox_t fline;
@@ -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;
}