lib/protocol: Clean up error values, unused flags

GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3025
This commit is contained in:
Audrius Butkevicius
2016-04-30 04:35:38 +00:00
committed by Jakob Borg
parent 953482de53
commit 49387f9494
2 changed files with 5 additions and 9 deletions

View File

@@ -64,11 +64,6 @@ const (
UpdateTypeForget
)
// CLusterConfig flags
const (
FlagClusterConfigTemporaryIndexes uint32 = 1 << 0
)
// ClusterConfigMessage.Folders flags
const (
FlagFolderReadOnly uint32 = 1 << 0
@@ -87,8 +82,9 @@ const (
)
var (
ErrClosed = errors.New("connection closed")
ErrTimeout = errors.New("read timeout")
ErrClosed = errors.New("connection closed")
ErrTimeout = errors.New("read timeout")
ErrSwitchingConnections = errors.New("switching connections")
)
// Specific variants of empty messages...