X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fcartesian.c;h=a2e9fbff39b2519828bebeee4e40ad5c2c0496be;hb=d5e5cf282cc56899913654a62c425e584acecfb2;hp=a2396abcf765da48037458e03e14c3f5ed2c7f70;hpb=9c01f251cf0e5b5eb3899fc7c62cc595f3d48511;p=pspp diff --git a/src/cartesian.c b/src/cartesian.c index a2396abcf7..a2e9fbff39 100644 --- a/src/cartesian.c +++ b/src/cartesian.c @@ -27,7 +27,7 @@ struct dataset { int n_data; - char *label; + const char *label; }; @@ -160,7 +160,7 @@ write_legend(struct chart *chart, const char *heading, /* Plot a data point */ void -chart_datum(struct chart *ch, int dataset, double x, double y) +chart_datum(struct chart *ch, int dataset UNUSED, double x, double y) { const double x_pos = (x - ch->x_min) * ch->abscissa_scale + ch->data_left ;