Remove dead variable

This commit is contained in:
Audrius Butkevicius 2015-06-24 08:43:33 +01:00
parent 8c0c03eb38
commit 986f8dfb2e

View File

@ -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()
} }