Skip to content

Commit

Permalink
Fix-up Werror from c549d9e
Browse files Browse the repository at this point in the history
  • Loading branch information
hvr committed Nov 21, 2018
1 parent d873437 commit 9813a90
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cabal-install/Distribution/Client/CmdClean.hs
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,8 @@ cleanAction CleanFlags{..} extraArgs _ = do
if saveConfig
then do
let buildRoot = distBuildRootDirectory distLayout
unpackedSrcRoot = distUnpackedSrcRootDirectory distLayout

buildRootExists <- doesDirectoryExist buildRoot
unpackedSrcRootExists <- doesDirectoryExist unpackedSrcRoot

when buildRootExists $ do
info verbosity ("Deleting build root (" ++ buildRoot ++ ")")
Expand Down

0 comments on commit 9813a90

Please sign in to comment.