+
+ if (tt_d->grp_var)
+ {
+ int width = var_get_width (tt_d->grp_var);
+ value_destroy (&tt_d->grps->cut_point, width);
+ value_destroy (&tt_d->grps->grp_val[0], width);
+ value_destroy (&tt_d->grps->grp_val[1], width);
+ }
+
+ if (v)
+ {
+ const int width = var_get_width (v);
+ value_init (&tt_d->grps->cut_point, width);
+ value_init (&tt_d->grps->grp_val[0], width);
+ value_init (&tt_d->grps->grp_val[1], width);
+
+ if (width == 0)
+ {
+ tt_d->grps->cut_point.f = SYSMIS;
+ tt_d->grps->grp_val[0].f = SYSMIS;
+ tt_d->grps->grp_val[1].f = SYSMIS;
+ }
+ else
+ {
+ tt_d->grps->cut_point.short_string[0] = '\0';
+ tt_d->grps->grp_val[0].short_string[0] = '\0';
+ tt_d->grps->grp_val[1].short_string[0] = '\0';
+ }
+ }
+
+ tt_d->grp_var = v;