PRINT: Improve error messages.
[pspp] / src / data / variable.c
index 3c6bea271775d273034c637855c39fa5976869a2..87e7d07823f42271707000938d7501a24f562250 100644 (file)
@@ -634,7 +634,7 @@ var_set_print_format_quiet (struct variable *v, const struct fmt_spec *print)
 {
   if (!fmt_equal (&v->print, print))
     {
-      assert (fmt_check_width_compat (print, v->name, v->width));
+      assert (fmt_check_width_compat (print, v->width));
       v->print = *print;
     }
 }
@@ -667,7 +667,7 @@ var_set_write_format_quiet (struct variable *v, const struct fmt_spec *write)
 {
   if (!fmt_equal (&v->write, write))
     {
-      assert (fmt_check_width_compat (write, v->name, v->width));
+      assert (fmt_check_width_compat (write, v->width));
       v->write = *write;
     }
 }