[commit: Cabal] : Distribution/Client/IndexUtils.hs: fixed warning on -Wall (unused result) (23ceebd)
Ian Lynagh
igloo at earth.li
Fri Jun 24 02:05:18 CEST 2011
Repository : ssh://darcs.haskell.org//srv/darcs/packages/Cabal
On branch :
http://hackage.haskell.org/trac/ghc/changeset/23ceebd4a415b6d9c9b1b44ebe5fb1ce94baab9d
>---------------------------------------------------------------
commit 23ceebd4a415b6d9c9b1b44ebe5fb1ce94baab9d
Author: Sergei Trofimovich <slyfox at community.haskell.org>
Date: Sun Dec 20 21:19:40 2009 +0000
Distribution/Client/IndexUtils.hs: fixed warning on -Wall (unused result)
>---------------------------------------------------------------
cabal-install/Distribution/Client/IndexUtils.hs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/cabal-install/Distribution/Client/IndexUtils.hs b/cabal-install/Distribution/Client/IndexUtils.hs
index 0bfb287..36050c8 100644
--- a/cabal-install/Distribution/Client/IndexUtils.hs
+++ b/cabal-install/Distribution/Client/IndexUtils.hs
@@ -128,8 +128,8 @@ getAvailablePackages verbosity repos = do
let (pkgs, prefs) = mconcat pkgss
prefs' = Map.fromListWith intersectVersionRanges
[ (name, range) | Dependency name range <- prefs ]
- evaluate pkgs
- evaluate prefs'
+ _ <- evaluate pkgs
+ _ <- evaluate prefs'
return AvailablePackageDb {
packageIndex = pkgs,
packagePreferences = prefs'
More information about the Cvs-libraries
mailing list