From: Ben Pfaff Date: Sun, 23 Dec 2018 18:15:39 +0000 (-0800) Subject: categoricals: Remove unused function categoricals_get_n_variables(). X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e94c7d5a9d2e971e0e3eca623f6bf281d903c24c;p=pspp categoricals: Remove unused function categoricals_get_n_variables(). This function output debugging info on stdout, so clearly it wasn't important. --- diff --git a/src/math/categoricals.c b/src/math/categoricals.c index 166b54233f..7e0f445a6e 100644 --- a/src/math/categoricals.c +++ b/src/math/categoricals.c @@ -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 *