X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Fcharts%2Fnp-plot.c;h=eeffbc1fa1d5f0cf3beae266974f1f95dd89bd25;hb=8f7af0acaf8a9253242d89fcdb26e285841f7833;hp=b0235924f8a471468be736b0d4fdee281e8f4e69;hpb=7f0d18e1c856e42ef8fc910d785baace2900f7e6;p=pspp diff --git a/src/output/charts/np-plot.c b/src/output/charts/np-plot.c index b0235924f8..eeffbc1fa1 100644 --- a/src/output/charts/np-plot.c +++ b/src/output/charts/np-plot.c @@ -31,12 +31,10 @@ static struct chart * make_np_plot (const struct np *np, const struct casereader *reader, const char *label, bool detrended) { - struct np_plot_chart *npp; - if (np->n <= 1.0) return NULL; - npp = xzalloc (sizeof *npp); + struct np_plot_chart *npp = XZALLOC (struct np_plot_chart); chart_init (&npp->chart, &np_plot_chart_class, label); npp->data = casereader_clone (reader); npp->y_min = np->y_min;