From adfd437f8ae6aaf893119fa4730edecf067dede7 Mon Sep 17 00:00:00 2001 From: Pierre Letouzey Date: Wed, 5 Mar 2014 14:59:16 +0100 Subject: Remove many superfluous 'open' indicated by ocamlc -w +33 With ocaml 4.01, the 'unused open' warning also checks the mli :-) Beware: some open are reported as useless when compiling with camlp5, but are necessary for compatibility with camlp4. These open are now marked with a comment. --- lib/future.ml | 2 -- lib/pp.mli | 2 -- 2 files changed, 4 deletions(-) (limited to 'lib') diff --git a/lib/future.ml b/lib/future.ml index 5645352682..1e878ac32c 100644 --- a/lib/future.ml +++ b/lib/future.ml @@ -40,8 +40,6 @@ module UUID = struct let equal = (==) end -open UUID - type 'a assignement = [ `Val of 'a | `Exn of exn | `Comp of 'a computation] (* Val is not necessarily a final state, so the diff --git a/lib/pp.mli b/lib/pp.mli index 811dd46581..635a149e88 100644 --- a/lib/pp.mli +++ b/lib/pp.mli @@ -6,8 +6,6 @@ (* * GNU Lesser General Public License Version 2.1 *) (************************************************************************) -open Pp_control - (** Modify pretty printing functions behavior for emacs ouput (special chars inserted at some places). This function should called once in module [Options], that's all. *) -- cgit v1.2.3