remove redundant definition of lck

This commit is contained in:
Joey Hess 2017-10-03 13:23:10 -04:00
parent a83ff189d9
commit 099bfc2daf
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -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