From f8f65b0227056d49dc31174c89ea0da4427e3b56 Mon Sep 17 00:00:00 2001 From: Hugo Herbelin Date: Fri, 13 Jun 2014 12:23:40 +0200 Subject: Less ocaml warnings. --- library/global.ml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'library/global.ml') diff --git a/library/global.ml b/library/global.ml index 6c088e542..378e7aaa3 100644 --- a/library/global.ml +++ b/library/global.ml @@ -197,10 +197,10 @@ let universes_of_global env r = let cb = Environ.lookup_constant c env in Declareops.universes_of_constant cb | IndRef ind -> - let (mib, oib as specif) = Inductive.lookup_mind_specif env ind in + let (mib, oib) = Inductive.lookup_mind_specif env ind in mib.mind_universes | ConstructRef cstr -> - let (mib,oib as specif) = Inductive.lookup_mind_specif env (inductive_of_constructor cstr) in + let (mib,oib) = Inductive.lookup_mind_specif env (inductive_of_constructor cstr) in mib.mind_universes let universes_of_global gr = -- cgit v1.2.3