Skip to content

Commit

Permalink
remove unused local vars
Browse files Browse the repository at this point in the history
  • Loading branch information
dcoutts committed Aug 7, 2007
1 parent d255513 commit cfa1b6c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Distribution/PackageDescription.hs
Expand Up @@ -1071,7 +1071,7 @@ parseDescription file = do
_ -> return (reverse acc)

getLibOrExe cond = peekField >>= \mf -> case mf of
Just (Section l sn sl fs)
Just (Section _ sn sl fs)
| sn == "executable" -> do
flds <- collectFields parseExeFields fs
skipField
Expand Down Expand Up @@ -1118,10 +1118,6 @@ parseDescription file = do

parseExeFields = lift . parseFields executableFieldDescrs nullExecutable

errEOF = lift $ syntaxError (-1) "Unexpected end of file"




parseFields :: [FieldDescr a] -> a -> [Field] -> ParseResult a
parseFields descrs ini fields =
Expand Down

0 comments on commit cfa1b6c

Please sign in to comment.