From 1a27e5f3ae317477f24893178023b714dbe4cc71 Mon Sep 17 00:00:00 2001 From: herbelin Date: Fri, 19 Jan 2007 16:58:56 +0000 Subject: Protection contre les warnings 'unused variable' de ocaml 3.09 git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@9502 85f007b7-540e-0410-9357-904b9bb8a0f7 --- contrib/funind/rawtermops.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib/funind') diff --git a/contrib/funind/rawtermops.ml b/contrib/funind/rawtermops.ml index 6b9a5b5df..6af8d2c36 100644 --- a/contrib/funind/rawtermops.ml +++ b/contrib/funind/rawtermops.ml @@ -593,7 +593,7 @@ let ids_of_rawterm c = | RCases (loc,rtntypopt,tml,brchl) -> List.flatten (List.map (fun (_,idl,patl,c) -> idl @ ids_of_rawterm [] c) brchl) | RRec _ -> failwith "Fix inside a constructor branch" - | (RSort _ | RHole _ | RRef _ | REvar _ | RPatVar _ | RDynamic _) as x -> [] + | (RSort _ | RHole _ | RRef _ | REvar _ | RPatVar _ | RDynamic _) -> [] in (* build the set *) List.fold_left (fun acc x -> Idset.add x acc) Idset.empty (ids_of_rawterm [] c) -- cgit v1.2.3