treewide: Use struct fmt_spec by value instead of pointer in most cases.
[pspp] / src / language / commands / rank.c
index 7d04e080b45246c8821b4dbcad5e1512ef5f1f26..3157153b5389ddbeb3db3918a2db5d1de67dc8ec 100644 (file)
@@ -1041,7 +1041,7 @@ rank_cmd (struct dataset *ds, const struct rank *cmd)
           struct variable *var;
 
           var = dict_create_var_assert (d, rs->dest_names[i], 0);
-          var_set_both_formats (var, &dest_format[rs->rfunc]);
+          var_set_both_formats (var, dest_format[rs->rfunc]);
           var_set_label (var, rs->dest_labels[i]);
           var_set_measure (var, rank_measures[rs->rfunc]);