diff options
author | bertot <bertot@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2005-11-14 13:27:33 +0000 |
---|---|---|
committer | bertot <bertot@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2005-11-14 13:27:33 +0000 |
commit | 6bbdf0a383f08fe4fb781cabb4ca1f7013dbdc7d (patch) | |
tree | 8c2d93314d7a6766e1680c27a9cf031cbd1645e7 /contrib/recdef | |
parent | 67df3e8485ad7ce4a4f4ba38e9abcc3b6b18759b (diff) |
avoids warnings about unused variables
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@7562 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'contrib/recdef')
-rw-r--r-- | contrib/recdef/recdef.ml4 | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/contrib/recdef/recdef.ml4 b/contrib/recdef/recdef.ml4 index 628fe9dee..aa7766785 100644 --- a/contrib/recdef/recdef.ml4 +++ b/contrib/recdef/recdef.ml4 @@ -249,7 +249,6 @@ let base_leaf (func:global_reference) eqs expr = let ids = ids_of_named_context (pf_hyps g) in let k = next_ident_away k_id ids in let h = next_ident_away h_id (k::ids) in - let def = next_ident_away def_id (h::k::ids) in tclTHENLIST [split (ImplicitBindings [expr]); split (ImplicitBindings [Lazy.force coq_O]); intro_using k; @@ -371,11 +370,6 @@ let rec introduce_all_values func context_fn let rec_res = next_ident_away rec_res_id ids in let ids = rec_res::ids in let hspec = next_ident_away hspec_id ids in - let ids = hspec::ids in - let p = next_ident_away p_id ids in - let ids = p::ids in - let heq = next_ident_away heq_id ids in - let ids = heq::ids in let tac = introduce_all_values func context_fn eqs proofs hrec args (rec_res::values)(hspec::specs) in @@ -439,7 +433,6 @@ try with e -> msgerrnl(str "failure in proveterminate"); raise e;; let hyp_terminates func = - let f = (get_f (constr_of_reference func)) in let a_arrow_b = (arg_type (constr_of_reference func)) in let (_,a,b) = destProd a_arrow_b in let left= |