mirror of
https://github.com/syncthing/syncthing.git
synced 2024-11-16 18:41:59 -07:00
Remove dead variable
This commit is contained in:
parent
8c0c03eb38
commit
986f8dfb2e
@ -92,8 +92,7 @@ type Model struct {
|
||||
deviceVer map[protocol.DeviceID]string
|
||||
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
|
||||
rvmut sync.RWMutex // protects reqValidationCache
|
||||
@ -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
|
||||
m.folderIgnores[cfg.ID] = ignores
|
||||
|
||||
m.addedFolder = true
|
||||
m.fmut.Unlock()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user