summaryrefslogtreecommitdiff
path: root/Logs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-10-03 13:23:10 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-10-03 13:23:10 -0400
commita954e4ff64c20c1e9220200014fa0b9822d5aa42 (patch)
treed13ada2acfaafc035e4b4a31cdc8c407a4817368 /Logs
parent5a5bede567ac9b223a3031a459918218b0c14117 (diff)
remove redundant definition of lck
Diffstat (limited to 'Logs')
-rw-r--r--Logs/Transfer.hs1
1 files changed, 0 insertions, 1 deletions
diff --git a/Logs/Transfer.hs b/Logs/Transfer.hs
index 0aded154d..3e90ae1ee 100644
--- a/Logs/Transfer.hs
+++ b/Logs/Transfer.hs
@@ -108,7 +108,6 @@ checkTransfer t = do
-- due to permissions problems, races, etc.
void $ tryIO $ do
mode <- annexFileMode
- let lck = transferLockFile tfile
r <- tryLockExclusive (Just mode) lck
case r of
Just lockhandle -> liftIO $ do