Skip to content

Commit 022a495

Browse files
committed
fix warnings
1 parent 6203e7a commit 022a495

File tree

3 files changed

+0
-7
lines changed

3 files changed

+0
-7
lines changed

src/core/gen/mkshims.ml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,6 @@ let atomic_before_412 =
2626

2727
let atomic_after_412 = {|include Atomic|}
2828

29-
let write_file file s =
30-
let oc = open_out file in
31-
output_string oc s;
32-
close_out oc
33-
3429
let () =
3530
let version = Scanf.sscanf Sys.ocaml_version "%d.%d.%s" (fun x y _ -> x, y) in
3631
print_endline

src/core/server.ml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ module Head_middleware = struct
1515
type t = { handle: 'a. 'a Request.t -> 'a Request.t }
1616

1717
let trivial = { handle = Fun.id }
18-
let[@inline] apply (self : t) req = self.handle req
1918
let[@inline] apply' req (self : t) = self.handle req
2019

2120
let to_middleware (self : t) : Middleware.t =

src/html/gen/gentags.ml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
(* adapted from https://github.com/sindresorhus/html-tags (MIT licensed) *)
22

33
let pf = Printf.printf
4-
let spf = Printf.sprintf
54

65
let void =
76
[

0 commit comments

Comments
 (0)