aboutsummaryrefslogtreecommitdiff
path: root/Limit.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-10-20 15:30:11 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-10-20 15:30:11 -0400
commit3165e815046787d47c283a32c7f87f504aceda9f (patch)
treece5016ac916337eef2ad22157b771e2324abae27 /Limit.hs
parent18498b167252dcf6c0074a64a076e915245ef1a4 (diff)
fix warning
Diffstat (limited to 'Limit.hs')
-rw-r--r--Limit.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Limit.hs b/Limit.hs
index ae77d8a5a..1980a2df5 100644
--- a/Limit.hs
+++ b/Limit.hs
@@ -115,7 +115,7 @@ limitIn name = Right $ \notpresent -> check $
{- Limit to content that is currently present on a uuid. -}
limitPresent :: Maybe UUID -> MkLimit
-limitPresent u name = Right $ const $ check $ \key -> do
+limitPresent u _ = Right $ const $ check $ \key -> do
hereu <- getUUID
if u == Just hereu || u == Nothing
then inAnnex key