X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fcic_proof_checking%2FcicReduction.ml;h=213aa2356bd1e3d9940efccdc4420f1e7dd05b2b;hb=935efd051844dd7877207c7917eb73016b7c8bc5;hp=bfba135cf992cb6c44c9cba58364f9f42e9c3f61;hpb=9b57abaabd8f66607062c3f33e74928f61468060;p=helm.git diff --git a/helm/software/components/cic_proof_checking/cicReduction.ml b/helm/software/components/cic_proof_checking/cicReduction.ml index bfba135cf..213aa2356 100644 --- a/helm/software/components/cic_proof_checking/cicReduction.ml +++ b/helm/software/components/cic_proof_checking/cicReduction.ml @@ -712,12 +712,12 @@ if List.mem uri params then debug_print (lazy "---- OK2") ; let leng = List.length fl in let new_env = let counter = ref 0 in - let rec build_env e = - if !counter = leng then e + let rec build_env e' = + if !counter = leng then e' else (incr counter ; build_env - ((RS.to_env (k,e,ens,C.Fix (!counter -1, fl),[]))::e)) + ((RS.to_env (k,e,ens,C.Fix (!counter -1, fl),[]))::e')) in build_env e in