]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/components/ng_paramodulation/stats.ml
Most warnings turned into errors and avoided
[helm.git] / matita / components / ng_paramodulation / stats.ml
index fd68f0fe765cd7cd75be5805dac8c516a0f623fb..da00eb5511145c02d99a9dce6aa924bf273ae737 100644 (file)
@@ -115,8 +115,8 @@ module Stats (B : Terms.Blob) =
                            else
                              dependencies op tl acc
                        else dependencies op tl acc
-                    | ((Terms.Node (Terms.Leaf op1::t) as x),y)
-                    | (y,(Terms.Node (Terms.Leaf op1::t) as x)) when leaf_count x > leaf_count y ->
+                    | ((Terms.Node (Terms.Leaf op1::_t) as x),y)
+                    | (y,(Terms.Node (Terms.Leaf op1::_t) as x)) when leaf_count x > leaf_count y ->
                          let rec term_leaves = function
                            | Terms.Node l -> List.fold_left (fun acc x -> acc @ (term_leaves x)) [] l
                            | Terms.Leaf x -> [x]