]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/components/extlib/patternMatcher.ml
Most warnings turned into errors and avoided
[helm.git] / matita / components / extlib / patternMatcher.ml
index f57c3ea6cc82affc53668bdbf507fdde774be558..fa8c6061ecc92ecbf767b7fef39e651a8aece27a 100644 (file)
@@ -25,8 +25,6 @@
 
 (* $Id$ *)
 
-open Printf
-
 type pattern_kind = Variable | Constructor
 type tag_t = int
 
@@ -121,7 +119,7 @@ struct
       | _ -> kfail () (*CSC: was assert false, but it did happen*))
 
   let success_closure ksucc =
-    (fun matched_terms constructors terms ->
+    (fun matched_terms constructors _terms ->
 (* prerr_endline "success_closure"; *)
        ksucc matched_terms constructors)