aboutsummaryrefslogtreecommitdiff
path: root/theories/FSets
diff options
context:
space:
mode:
authorcoqbot-app[bot]2020-10-26 16:13:30 +0000
committerGitHub2020-10-26 16:13:30 +0000
commit970d9be15074e78ab2961cfe81a668cdf09ea4f4 (patch)
tree8688a81c9564d7fbacec5b2585bb612dff7329a4 /theories/FSets
parent9e7b0f9f248a1fae8e5681815bd621f182696c4f (diff)
parent3c73900038e904e007e0e83d53ac040dfc951fb0 (diff)
Merge PR #12768: Granting wish #12762: warning on duplicated catch-all pattern-matching clause with unused named variable
Reviewed-by: jfehrle Reviewed-by: vbgl Ack-by: gares
Diffstat (limited to 'theories/FSets')
-rw-r--r--theories/FSets/FMapPositive.v4
1 files changed, 2 insertions, 2 deletions
diff --git a/theories/FSets/FMapPositive.v b/theories/FSets/FMapPositive.v
index c3c6c96997..02f408fd85 100644
--- a/theories/FSets/FMapPositive.v
+++ b/theories/FSets/FMapPositive.v
@@ -139,8 +139,8 @@ Module PositiveMap <: S with Module E:=PositiveOrderedTypeBits.
| xH =>
match m with
| Leaf => Leaf
- | Node Leaf o Leaf => Leaf
- | Node l o r => Node l None r
+ | Node Leaf _ Leaf => Leaf
+ | Node l _ r => Node l None r
end
| xO ii =>
match m with