Skip to content

Commit

Permalink
produce_everparse_error: use all arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
tahina-pro committed Oct 25, 2023
1 parent e195bb8 commit 709b676
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/3d/Target.fst
Original file line number Diff line number Diff line change
Expand Up @@ -1329,7 +1329,7 @@ let print_c_entry
if HashingOptions.InputStreamBuffer? input_stream_binding
then Printf.sprintf "void %sEverParseError(const char *StructName, const char *FieldName, const char *Reason)%s"
modul
(if produce_everparse_error = Some ProduceEverParseError then "{}" else ";")
(if produce_everparse_error = Some ProduceEverParseError then "{(void) StructName; (void) FieldName; (void) Reason;}" else ";")
else ""
in
let impl =
Expand Down

0 comments on commit 709b676

Please sign in to comment.