diff options
author | Daniel Gröber <dxld@darkboxed.org> | 2019-06-19 00:49:10 +0200 |
---|---|---|
committer | Daniel Gröber <dxld@darkboxed.org> | 2019-06-19 01:12:33 +0200 |
commit | edf99c36d2aa8cd7311234d1f134d2b8db246ac0 (patch) | |
tree | da76a81c51646002fa6bf220a927979c186356c6 /src/CabalHelper | |
parent | 1d158cf3954ef28aa045edcc2c08b031657165dd (diff) |
Fix redundant case warning
Diffstat (limited to 'src/CabalHelper')
-rw-r--r-- | src/CabalHelper/Shared/Common.hs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/CabalHelper/Shared/Common.hs b/src/CabalHelper/Shared/Common.hs index d65722b..031adcf 100644 --- a/src/CabalHelper/Shared/Common.hs +++ b/src/CabalHelper/Shared/Common.hs @@ -93,7 +93,6 @@ parsePkgIdBS bs = (vers, pkg') -> Just ( BS.reverse $ BS.tail pkg' , parseVer (BS8.unpack (BS.reverse vers))) - _ -> Nothing parseVer :: String -> Version parseVer vers = runReadP parseVersion vers |