Skip to content

Commit

Permalink
Fix unused match warning in memory-benchmark.hs. (#4053)
Browse files Browse the repository at this point in the history
This PR fixes the following warning:
```
bench/memory-benchmark.hs:153:22: error: [-Wunused-matches, -Werror=unused-matches]
    Defined but not used: `tr'
    |
153 | getLatestBlockHeight tr wallet = do
```
  • Loading branch information
jonathanknowles authored Jul 21, 2023
2 parents 4ee0192 + 33ca4ea commit 9215d9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/wallet-benchmarks/bench/memory-benchmark.hs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ copyNodeSnapshot snapshot tmp = do
Cardano commands
------------------------------------------------------------------------------}
getLatestBlockHeight :: Tracer IO Text -> C.CardanoWalletConn -> IO Int
getLatestBlockHeight tr wallet = do
getLatestBlockHeight _tr wallet = do
fmap (fromMaybe 0 . readMaybe)
. flip S.readCreateProcess ""
. S.shell
Expand Down

0 comments on commit 9215d9c

Please sign in to comment.