Skip to content

Commit 7022ea8

Browse files
committed
Misc: enable unused js variable warning when checking js runtime
1 parent d6cfcaf commit 7022ea8

File tree

1 file changed

+1
-0
lines changed
  • compiler/lib-runtime-files/gen

1 file changed

+1
-0
lines changed

compiler/lib-runtime-files/gen/gen.ml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ let effects_backends = [ `Effects `Disabled; `Effects `Cps; `Effects `Double_tra
5454

5555
let () =
5656
Js_of_ocaml_compiler.Warning.werror := true;
57+
Js_of_ocaml_compiler.Warning.enable `Unused_js_variable;
5758
Js_of_ocaml_compiler.Config.set_target `JavaScript;
5859
let () = set_binary_mode_out stdout true in
5960
match Array.to_list Sys.argv with

0 commit comments

Comments
 (0)