treewide: Use struct fmt_spec by value instead of pointer in most cases.
[pspp] / src / language / commands / aggregate.c
index 24b22722a79eddc6ebc8d8b2219b05559e5aa6af..fedfbaf5fc67772d07b56de9c699b114089b4ade 100644 (file)
@@ -625,7 +625,7 @@ parse_aggregate_functions (struct lexer *lexer, const struct dictionary *dict,
                 f = fmt_for_output (FMT_F, 8, 2);
               else
                 f = function->format;
-              var_set_both_formats (v->dest, &f);
+              var_set_both_formats (v->dest, f);
             }
           if (dest_label[i])
             var_set_label (v->dest, dest_label[i]);