Drop call to deleted function value_cnt_from_width (from debug-only code).
authorBen Pfaff <blp@gnu.org>
Fri, 12 Jun 2009 03:11:55 +0000 (20:11 -0700)
committerBen Pfaff <blp@gnu.org>
Fri, 12 Jun 2009 03:11:55 +0000 (20:11 -0700)
Thanks to Jason for pointing out the problem.

src/ui/gui/psppire-dict.c

index 8ff92a48fc57c01f7d255ab27001dd4cdc5c5f15..d6d278f596a6bd71c52993252f0d694cf77cdcd8 100644 (file)
@@ -859,11 +859,10 @@ psppire_dict_dump (const PsppireDict *dict)
     {
       const struct variable *v = psppire_dict_get_variable (dict, i);
       int di = var_get_dict_index (v);
-      g_print ("\"%s\" idx=%d, fv=%d, size=%d\n",
+      g_print ("\"%s\" idx=%d, fv=%d\n",
               var_get_name(v),
               di,
-              var_get_case_index(v),
-              value_cnt_from_width(var_get_width(v)));
+              var_get_case_index(v));
 
     }
 }