treewide: Use struct fmt_spec by value instead of pointer in most cases.
[pspp] / tests / output / pivot-table-test.c
index 8bed7550ebb0cc3d7143d04b8b2ac6e7a1d1875f..754db1eb8e8ef09304aa4e4b2a9908baf8d21f09 100644 (file)
@@ -592,8 +592,8 @@ read_value_option (struct lexer *lexer, const struct pivot_table *pt,
 
       if (ok)
         {
-          if (!fmt_check_output (&fmt)
-              || !fmt_check_type_compat (&fmt, VAL_NUMERIC))
+          if (!fmt_check_output (fmt)
+              || !fmt_check_type_compat (fmt, VAL_NUMERIC))
             exit (1);
 
           value->numeric.format = fmt;