mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-14 09:14:10 +00:00
Remove dead variable
This commit is contained in:
parent
8c0c03eb38
commit
986f8dfb2e
@ -92,7 +92,6 @@ type Model struct {
|
|||||||
deviceVer map[protocol.DeviceID]string
|
deviceVer map[protocol.DeviceID]string
|
||||||
pmut sync.RWMutex // protects protoConn and rawConn
|
pmut sync.RWMutex // protects protoConn and rawConn
|
||||||
|
|
||||||
addedFolder bool
|
|
||||||
started bool
|
started bool
|
||||||
|
|
||||||
reqValidationCache map[string]time.Time // folder / file name => time when confirmed to exist
|
reqValidationCache map[string]time.Time // folder / file name => time when confirmed to exist
|
||||||
@ -1180,7 +1179,6 @@ func (m *Model) AddFolder(cfg config.FolderConfiguration) {
|
|||||||
_ = ignores.Load(filepath.Join(cfg.Path(), ".stignore")) // Ignore error, there might not be an .stignore
|
_ = ignores.Load(filepath.Join(cfg.Path(), ".stignore")) // Ignore error, there might not be an .stignore
|
||||||
m.folderIgnores[cfg.ID] = ignores
|
m.folderIgnores[cfg.ID] = ignores
|
||||||
|
|
||||||
m.addedFolder = true
|
|
||||||
m.fmut.Unlock()
|
m.fmut.Unlock()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user