summaryrefslogtreecommitdiff
path: root/Command/Unused.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/Unused.hs')
-rw-r--r--Command/Unused.hs6
1 files changed, 2 insertions, 4 deletions
diff --git a/Command/Unused.hs b/Command/Unused.hs
index 7a34d393c..ae189550c 100644
--- a/Command/Unused.hs
+++ b/Command/Unused.hs
@@ -28,10 +28,8 @@ start = do
perform :: SubCmdPerform
perform = do
- ok <- checkUnused
- if ok
- then return $ Just $ return True
- else return Nothing
+ _ <- checkUnused
+ return $ Just $ return True
checkUnused :: Annex Bool
checkUnused = do