categoricals: Remove unused function categoricals_get_n_variables().
authorBen Pfaff <blp@cs.stanford.edu>
Sun, 23 Dec 2018 18:15:39 +0000 (10:15 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Sun, 23 Dec 2018 18:54:06 +0000 (10:54 -0800)
This function output debugging info on stdout, so clearly it wasn't
important.

src/math/categoricals.c

index 166b54233fbf99ce24c7cc7a2232583ff76f4080..7e0f445a6e9ab9bfcefa5776754ce33c971114e8 100644 (file)
@@ -811,15 +811,6 @@ categoricals_get_effects_code_for_case (const struct categoricals *cat, int subs
   return categoricals_get_code_for_case (cat, subscript, c, true);
 }
 
-
-size_t
-categoricals_get_n_variables (const struct categoricals *cat)
-{
-  printf ("%s\n", __FUNCTION__);
-  return cat->n_vars;
-}
-
-
 /* Return a case containing the set of values corresponding to
    the Nth Category of the IACTth interaction */
 const struct ccase *