Skip to content

Commit 907a9b8

Browse files
Fix warnings revealed by v0.14.1 PS release (#13)
* Ignore argument * Update changelog
1 parent 502b971 commit 907a9b8

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ New features:
1111
Bugfixes:
1212

1313
Other improvements:
14+
- Fix warnings revealed by v0.14.1 PS release (#13 by @JordanMartinez)
1415

1516
## [v2.0.0](https://github.com/purescript-web/purescript-web-dom-xpath/releases/tag/v2.0.0) - 2021-02-26
1617

src/Web/DOM/XPath.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ snapshot xpres = case snapMay of
122122
nodeAtIdx :: Int -> Effect (Maybe Node)
123123
nodeAtIdx = snapshotItem xpres
124124
snapshotInternal :: RT.SnapshotType -> Effect (Array Node)
125-
snapshotInternal snapType = do
125+
snapshotInternal _ = do
126126
nNodes <- snapshotLength xpres
127127
nNodesInt <- pure nNodes
128128
-- nodeArray <- pure $ replicate nNodesInt _emptyNode

0 commit comments

Comments
 (0)