*tv = true;
var_set_measure (v, MEASURE_NOMINAL);
- var_set_both_formats (v, &(struct fmt_spec) { .type = FMT_F, .w = 4 });
+ var_set_both_formats (v, (struct fmt_spec) { .type = FMT_F, .w = 4 });
}
return true;
0);
var_set_measure (mf.svars[0], MEASURE_NOMINAL);
var_set_both_formats (
- mf.svars[0], &(struct fmt_spec) { .type = FMT_F, .w = 4 });
+ mf.svars[0], (struct fmt_spec) { .type = FMT_F, .w = 4 });
mf.n_svars = 1;
lex_get (lexer);
}
{
struct variable *v = input_vars[i];
mf.cvars[mf.n_cvars++] = v;
- var_set_both_formats (v, &(struct fmt_spec) { .type = FMT_F, .w = 10,
- .d = 4 });
+ var_set_both_formats (v, (struct fmt_spec) { .type = FMT_F, .w = 10,
+ .d = 4 });
}
if (!mf.n_cvars)
{