diff options
author | Joey Hess <joey@kitenet.net> | 2012-10-20 15:30:11 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-10-20 15:30:11 -0400 |
commit | 3165e815046787d47c283a32c7f87f504aceda9f (patch) | |
tree | ce5016ac916337eef2ad22157b771e2324abae27 /Limit.hs | |
parent | 18498b167252dcf6c0074a64a076e915245ef1a4 (diff) |
fix warning
Diffstat (limited to 'Limit.hs')
-rw-r--r-- | Limit.hs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |