diff options
| author | Pierre Letouzey | 2014-03-05 14:59:16 +0100 |
|---|---|---|
| committer | Pierre Letouzey | 2014-03-05 15:41:21 +0100 |
| commit | adfd437f8ae6aaf893119fa4730edecf067dede7 (patch) | |
| tree | a395e5f9e50f5cde1419c1fbdb0870d9efdc09b8 /checker | |
| parent | 3080dd5e27ee20ba0b3537c7882e7ad8af414325 (diff) | |
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.
Diffstat (limited to 'checker')
| -rw-r--r-- | checker/closure.mli | 1 | ||||
| -rw-r--r-- | checker/environ.mli | 1 | ||||
| -rw-r--r-- | checker/indtypes.mli | 2 | ||||
| -rw-r--r-- | checker/mod_checking.ml | 1 | ||||
| -rw-r--r-- | checker/modops.ml | 1 | ||||
| -rw-r--r-- | checker/modops.mli | 1 | ||||
| -rw-r--r-- | checker/safe_typing.ml | 1 | ||||
| -rw-r--r-- | checker/safe_typing.mli | 1 | ||||
| -rw-r--r-- | checker/type_errors.ml | 1 | ||||
| -rw-r--r-- | checker/typeops.ml | 1 | ||||
| -rw-r--r-- | checker/typeops.mli | 2 |
11 files changed, 0 insertions, 13 deletions
diff --git a/checker/closure.mli b/checker/closure.mli index bee6b1bb84..13bc0c07e0 100644 --- a/checker/closure.mli +++ b/checker/closure.mli @@ -7,7 +7,6 @@ (************************************************************************) (*i*) -open Pp open Names open Cic open Esubst diff --git a/checker/environ.mli b/checker/environ.mli index 847af52318..a4162d67f2 100644 --- a/checker/environ.mli +++ b/checker/environ.mli @@ -1,6 +1,5 @@ open Names open Cic -open Term (* Environments *) diff --git a/checker/indtypes.mli b/checker/indtypes.mli index 0029eb652b..d757f237d2 100644 --- a/checker/indtypes.mli +++ b/checker/indtypes.mli @@ -8,9 +8,7 @@ (*i*) open Names -open Univ open Cic -open Typeops open Environ (*i*) diff --git a/checker/mod_checking.ml b/checker/mod_checking.ml index c2016ba1bf..ec0014175a 100644 --- a/checker/mod_checking.ml +++ b/checker/mod_checking.ml @@ -1,6 +1,5 @@ open Pp -open Errors open Util open Names open Cic diff --git a/checker/modops.ml b/checker/modops.ml index 89ffcb50b3..2d20dd0f30 100644 --- a/checker/modops.ml +++ b/checker/modops.ml @@ -12,7 +12,6 @@ open Util open Pp open Names open Cic -open Term open Declarations (*i*) diff --git a/checker/modops.mli b/checker/modops.mli index 396eb8e7cf..78626eb00d 100644 --- a/checker/modops.mli +++ b/checker/modops.mli @@ -8,7 +8,6 @@ (*i*) open Names -open Univ open Cic open Environ (*i*) diff --git a/checker/safe_typing.ml b/checker/safe_typing.ml index b3060c153d..7fcd749f59 100644 --- a/checker/safe_typing.ml +++ b/checker/safe_typing.ml @@ -11,7 +11,6 @@ open Errors open Util open Cic open Names -open Declarations open Environ (************************************************************************) diff --git a/checker/safe_typing.mli b/checker/safe_typing.mli index 9f9afe922f..59d95c36d6 100644 --- a/checker/safe_typing.mli +++ b/checker/safe_typing.mli @@ -7,7 +7,6 @@ (************************************************************************) (*i*) -open Names open Cic open Environ (*i*) diff --git a/checker/type_errors.ml b/checker/type_errors.ml index 6cf814dce1..e800ee3ef2 100644 --- a/checker/type_errors.ml +++ b/checker/type_errors.ml @@ -8,7 +8,6 @@ open Names open Cic -open Term open Environ type unsafe_judgment = constr * constr diff --git a/checker/typeops.ml b/checker/typeops.ml index f22649eb52..95753769df 100644 --- a/checker/typeops.ml +++ b/checker/typeops.ml @@ -14,7 +14,6 @@ open Cic open Term open Reduction open Type_errors -open Declarations open Inductive open Environ diff --git a/checker/typeops.mli b/checker/typeops.mli index 3c56c15efa..92535606f9 100644 --- a/checker/typeops.mli +++ b/checker/typeops.mli @@ -7,9 +7,7 @@ (************************************************************************) (*i*) -open Names open Cic -open Term open Environ (*i*) |
