X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Fcharts%2Fplot-chart.c;h=4fd67aaf0bb915a1555f00452417ad1882f98484;hb=897cec8000d45a5afc618fdb9e8fdd597c7b81ba;hp=497251f07eda20677029b3066196a9aa13250a15;hpb=573068f2bdcd3f8796e9646668fed910a90f890b;p=pspp-builds.git diff --git a/src/output/charts/plot-chart.c b/src/output/charts/plot-chart.c index 497251f0..4fd67aaf 100644 --- a/src/output/charts/plot-chart.c +++ b/src/output/charts/plot-chart.c @@ -36,11 +36,12 @@ #include #include +#include #include #include -const char *data_colour[] = { +const char *const data_colour[] = { "brown", "red", "orange", @@ -76,7 +77,7 @@ draw_tick(struct chart *chart, else if (orientation == TICK_ORDINATE ) pl_flinerel_r(chart->lp, 0, position, -tickSize, position); else - assert(0); + NOT_REACHED (); if ( label ) { char buf[10];