use mapM_

This commit is contained in:
Joey Hess 2011-01-31 13:52:11 -04:00
parent 4a0fe24f39
commit d007e58a54
4 changed files with 4 additions and 4 deletions

View file

@ -88,7 +88,7 @@ unusedKeys = do
-- Tmp files that are dups of content already present can simply
-- be removed.
_ <- liftIO $ mapM (\t -> removeFile $ gitAnnexTmpLocation g t) duptmp
liftIO $ mapM_ (\t -> removeFile $ gitAnnexTmpLocation g t) duptmp
return (unused, staletmp)