X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fcic%2Fdiscrimination_tree.ml;h=bab98921df04691b090c6e8e3020de76e5ccf5bb;hb=d3e3b22ce9cca9e4ca80f75a6bdc4c2df93efb0b;hp=0bef85a8cc4e7ea1d89c3f708c025c0c998cb545;hpb=f7aedf0ebd0fb55d3587db4f0753521927dcbb69;p=helm.git diff --git a/helm/ocaml/cic/discrimination_tree.ml b/helm/ocaml/cic/discrimination_tree.ml index 0bef85a8c..bab98921d 100644 --- a/helm/ocaml/cic/discrimination_tree.ml +++ b/helm/ocaml/cic/discrimination_tree.ml @@ -220,7 +220,7 @@ let remove_index tree equality = | pos -> List.fold_right (fun i r -> if r = [] then [i+1] else i::r) pos [] in try - let t = subterm_at_pos pos' term in pos' + ignore(subterm_at_pos pos' term ); pos' with Not_found -> let pos, _ = List.fold_right