fix 2 build warnings
This commit is contained in:
parent
538780ebaf
commit
694fe3702c
1 changed files with 0 additions and 2 deletions
|
@ -21,7 +21,6 @@ import Annex.Wanted
|
||||||
import Annex.Content
|
import Annex.Content
|
||||||
import Annex.SpecialRemote.Config
|
import Annex.SpecialRemote.Config
|
||||||
import qualified Database.Keys
|
import qualified Database.Keys
|
||||||
import Git.FilePath
|
|
||||||
|
|
||||||
import qualified Data.Set as S
|
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 :: [UUID] -> [Remote] -> Reason -> Bool -> Key -> AssociatedFile -> SeekInput -> [VerifiedCopy] -> (CommandStart -> CommandCleanup) -> Annex ()
|
||||||
handleDropsFrom locs rs reason fromhere key afile si preverified runner = do
|
handleDropsFrom locs rs reason fromhere key afile si preverified runner = do
|
||||||
g <- Annex.gitRepo
|
|
||||||
fs <- Database.Keys.getAssociatedFilesIncluding afile key
|
fs <- Database.Keys.getAssociatedFilesIncluding afile key
|
||||||
n <- getcopies fs
|
n <- getcopies fs
|
||||||
void $ if fromhere && checkcopies n Nothing
|
void $ if fromhere && checkcopies n Nothing
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue