diff options
Diffstat (limited to 'lib/protocol/vector.go')
-rw-r--r-- | lib/protocol/vector.go | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/protocol/vector.go b/lib/protocol/vector.go index 74a8bd42a..fefb88aa9 100644 --- a/lib/protocol/vector.go +++ b/lib/protocol/vector.go @@ -43,13 +43,6 @@ func (v Vector) updateWithNow(id ShortID, now uint64) Vector { })} } -func max(a, b uint64) uint64 { - if a > b { - return a - } - return b -} - // Merge returns the vector containing the maximum indexes from v and b. If it // is possible, the vector v is updated and returned. If it is not, a copy // will be created, updated and returned. |