X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fcic%2Funshare.ml;h=e198bcd49df1c79fa3235da0c75bcb2f18e6bcb8;hb=ef3f78973c2fa3151c09681bcdb60107cd73c518;hp=9300c9e3a95eb6ed453a839129e21a51bdb246d2;hpb=7bd401c4e5cf82938487cff368de93f50a9c50d7;p=helm.git diff --git a/helm/ocaml/cic/unshare.ml b/helm/ocaml/cic/unshare.ml index 9300c9e3a..e198bcd49 100644 --- a/helm/ocaml/cic/unshare.ml +++ b/helm/ocaml/cic/unshare.ml @@ -23,6 +23,8 @@ * http://cs.unibo.it/helm/. *) +(* $Id$ *) + let rec unshare = let module C = Cic in function @@ -67,7 +69,6 @@ let rec unshare = C.MutCase (sp, i, unshare outty, unshare t, List.map unshare pl) | C.Fix (i, fl) -> - let len = List.length fl in let liftedfl = List.map (fun (name, i, ty, bo) -> (name, i, unshare ty, unshare bo)) @@ -75,7 +76,6 @@ let rec unshare = in C.Fix (i, liftedfl) | C.CoFix (i, fl) -> - let len = List.length fl in let liftedfl = List.map (fun (name, ty, bo) -> (name, unshare ty, unshare bo))