Hlint: Error: Redundant return

This commit is contained in:
marko.kocic 2009-09-22 12:17:25 +00:00
parent 3341ad197f
commit af3ad2abe1

View File

@ -423,8 +423,7 @@ postingamount :: GenParser Char st MixedAmount
postingamount = postingamount =
try (do try (do
many1 spacenonewline many1 spacenonewline
a <- someamount <|> return missingamt someamount <|> return missingamt
return a
) <|> return missingamt ) <|> return missingamt
someamount :: GenParser Char st MixedAmount someamount :: GenParser Char st MixedAmount