diff --git a/theories/coPset.v b/theories/coPset.v
index cdf7851ff8169f20bf889755ece50b88f559e8c6..b418dd8cd7f8918eb7a0b1475dbf4140622ba849 100644
--- a/theories/coPset.v
+++ b/theories/coPset.v
@@ -26,7 +26,7 @@ Fixpoint coPset_wf (t : coPset_raw) : bool :=
   | coPLeaf _ => true
   | coPNode true (coPLeaf true) (coPLeaf true) => false
   | coPNode false (coPLeaf false) (coPLeaf false) => false
-  | coPNode b l r => coPset_wf l && coPset_wf r
+  | coPNode _ l r => coPset_wf l && coPset_wf r
   end.
 Arguments coPset_wf !_ / : simpl nomatch, assert.
 
diff --git a/theories/hlist.v b/theories/hlist.v
index 86dbd4571f1ac31f5181eab64fadd4caebbb8cdf..d7f0ad921c8b6daf5920a8ad881d74136059713b 100644
--- a/theories/hlist.v
+++ b/theories/hlist.v
@@ -22,12 +22,12 @@ Definition htail {A As} (xs : hlist (tcons A As)) : hlist As :=
 Fixpoint hheads {As Bs} : hlist (tapp As Bs) → hlist As :=
   match As with
   | tnil => λ _, hnil
-  | tcons A As => λ xs, hcons (hhead xs) (hheads (htail xs))
+  | tcons _ _ => λ xs, hcons (hhead xs) (hheads (htail xs))
   end.
 Fixpoint htails {As Bs} : hlist (tapp As Bs) → hlist Bs :=
   match As with
   | tnil => id
-  | tcons A As => λ xs, htails (htail xs)
+  | tcons _ _ => λ xs, htails (htail xs)
   end.
 
 Fixpoint himpl (As : tlist) (B : Type) : Type :=