X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmath%2Fcategoricals.c;h=5aba65b78e92d35499a886064edb12e1b81ce39d;hb=5f68c60b8283f6a410de20f927e9b12792ea58b3;hp=33e3b51c62f99cc2290ce7918dbba6aedb111878;hpb=bcbf301dff22591f0b8b7eccd3502ddc05e68d85;p=pspp diff --git a/src/math/categoricals.c b/src/math/categoricals.c index 33e3b51c62..5aba65b78e 100644 --- a/src/math/categoricals.c +++ b/src/math/categoricals.c @@ -102,6 +102,7 @@ categoricals_destroy ( struct categoricals *cat) } +#if 0 void categoricals_dump (const struct categoricals *cat) { @@ -132,8 +133,8 @@ categoricals_dump (const struct categoricals *cat) for (node = hmap_first (m); node; node = hmap_next (m, node)) { struct string s; - ds_init_empty (&s); const struct value_node *vn = HMAP_DATA (node, struct value_node, node); + ds_init_empty (&s); var_append_value_name (vp->var, &vn->value, &s); printf ("Value: %s; Index %d; CC %g\n", ds_cstr (&s), @@ -155,6 +156,7 @@ categoricals_dump (const struct categoricals *cat) printf ("%d ", cat->reverse_variable_map[v]); printf ("\n"); } +#endif