dictionary: Get rid of case indexes.
[pspp] / src / data / variable.c
index 7d5286fb48933015adf7c42d21713dfcb1f181ff..b90b32a31ca9053fe818f58931959a4d0c01291b 100644 (file)
@@ -1221,17 +1221,6 @@ var_get_dict_index (const struct variable *v)
   assert (var_has_vardict (v));
   return vardict_get_dict_index (v->vardict);
 }
-
-/* Returns V's index within the case represented by its
-   dictionary, that is, the value for which "case_data_idx (case,
-   index)" will return the data for V in that case.
-   V must be in a dictionary. */
-size_t
-var_get_case_index (const struct variable *v)
-{
-  assert (var_has_vardict (v));
-  return vardict_get_case_index (v->vardict);
-}
 \f
 /* Returns variable V's attribute set.  The caller may examine or
    modify the attribute set, but must not destroy it.  Destroying