[commit: Cabal] master: Fix another -Werrorism (6f01f56)
Duncan Coutts
duncan.coutts at googlemail.com
Wed May 25 13:23:18 CEST 2011
Repository : ssh://darcs.haskell.org//srv/darcs/packages/Cabal
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/6f01f56a2702b50e2da909566c4a01622cb2ca7f
>---------------------------------------------------------------
commit 6f01f56a2702b50e2da909566c4a01622cb2ca7f
Author: Duncan Coutts <duncan at community.haskell.org>
Date: Tue May 24 13:33:14 2011 +0000
Fix another -Werrorism
>---------------------------------------------------------------
Distribution/PackageDescription.hs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Distribution/PackageDescription.hs b/Distribution/PackageDescription.hs
index 304ea23..80699db 100644
--- a/Distribution/PackageDescription.hs
+++ b/Distribution/PackageDescription.hs
@@ -816,7 +816,7 @@ updatePackageDescription (mb_lib_bi, exe_bi) p
updateLibrary :: Maybe BuildInfo -> Maybe Library -> Maybe Library
updateLibrary (Just bi) (Just lib) = Just (lib{libBuildInfo = bi `mappend` libBuildInfo lib})
updateLibrary Nothing mb_lib = mb_lib
- updateLibrary (Just bi) Nothing = Nothing
+ updateLibrary (Just _) Nothing = Nothing
updateExecutables :: [(String, BuildInfo)] -- ^[(exeName, new buildinfo)]
-> [Executable] -- ^list of executables to update
More information about the Cvs-libraries
mailing list