fix 2 build warnings

This commit is contained in:
Joey Hess 2021-06-21 11:27:18 -04:00
parent 538780ebaf
commit 694fe3702c
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -21,7 +21,6 @@ import Annex.Wanted
import Annex.Content
import Annex.SpecialRemote.Config
import qualified Database.Keys
import Git.FilePath
import qualified Data.Set as S
@ -51,7 +50,6 @@ type Reason = String
-}
handleDropsFrom :: [UUID] -> [Remote] -> Reason -> Bool -> Key -> AssociatedFile -> SeekInput -> [VerifiedCopy] -> (CommandStart -> CommandCleanup) -> Annex ()
handleDropsFrom locs rs reason fromhere key afile si preverified runner = do
g <- Annex.gitRepo
fs <- Database.Keys.getAssociatedFilesIncluding afile key
n <- getcopies fs
void $ if fromhere && checkcopies n Nothing