Add yet another expression test and fix the bugs it found.
[pspp-builds.git] / src / plot-chart.c
index 795e3113a8da141d428c8a832194557ef47cf8fd..ae90a7e3933b66c1abdea019f7f824e89e31450c 100644 (file)
@@ -188,7 +188,8 @@ chart_submit(struct chart *chart)
 {
   struct som_entity s;
 
-  assert(chart);
+  if ( ! chart ) 
+     return ;
 
   pl_restorestate_r(chart->lp);