Fix a warning

This commit is contained in:
Michael Snoyman 2014-03-28 17:55:38 +03:00
parent 033690f2e5
commit 7ef6eb967a

View File

@ -190,7 +190,6 @@ loadPackageDB settings coreMap core deps = do
)
_ -> (mempty, defaultHasTestSuites, Set.empty, Set.empty, Nothing, Set.empty, Nothing)
where
allBuildInfo gpd = libExeBuildInfo gpd ++ testBenchBuildInfo gpd
libExeBuildInfo gpd = concat
[ maybe mempty (goBI libBuildInfo) $ condLibrary gpd
, concat $ map (goBI buildInfo . snd) $ condExecutables gpd