avoid build warning on Windows about unused import
This commit is contained in:
parent
1e00f861ab
commit
16a2bed710
3 changed files with 6 additions and 2 deletions
|
@ -43,10 +43,10 @@ import Annex.Environment
|
|||
import Annex.Hook
|
||||
import Annex.InodeSentinal
|
||||
import Upgrade
|
||||
import Annex.Perms
|
||||
import Annex.Tmp
|
||||
import Utility.UserInfo
|
||||
#ifndef mingw32_HOST_OS
|
||||
import Annex.Perms
|
||||
import Utility.FileMode
|
||||
import System.Posix.User
|
||||
import qualified Utility.LockFile.Posix as Posix
|
||||
|
|
|
@ -12,7 +12,9 @@ module Annex.ReplaceFile where
|
|||
import Annex.Common
|
||||
import Annex.Tmp
|
||||
import Utility.Tmp.Dir
|
||||
#ifndef mingw32_HOST_OS
|
||||
import Utility.Path.Max
|
||||
#endif
|
||||
|
||||
{- Replaces a possibly already existing file with a new version,
|
||||
- atomically, by running an action.
|
||||
|
|
|
@ -12,7 +12,6 @@ module Logs.Transfer where
|
|||
import Types.Transfer
|
||||
import Types.ActionItem
|
||||
import Annex.Common
|
||||
import Annex.Perms
|
||||
import qualified Git
|
||||
import Utility.Metered
|
||||
import Utility.Percentage
|
||||
|
@ -20,6 +19,9 @@ import Utility.PID
|
|||
import Annex.LockPool
|
||||
import Utility.TimeStamp
|
||||
import Logs.File
|
||||
#ifndef mingw32_HOST_OS
|
||||
import Annex.Perms
|
||||
#endif
|
||||
|
||||
import Data.Time.Clock
|
||||
import Data.Time.Clock.POSIX
|
||||
|
|
Loading…
Add table
Reference in a new issue