Removed empty else branch
Looks like an artifact from the past.
This commit is contained in:
parent
09296c0214
commit
f533cced97
@ -17,9 +17,8 @@ func (cache *TreeCache) Get(bottomTreeStart, bottomTreeStop, topTreeStart, topTr
|
||||
key := TreeCacheKey{bottomTreeStart, bottomTreeStop, topTreeStart, topTreeStop}
|
||||
if value, exists := cache.cache[key]; exists {
|
||||
return value
|
||||
} else {
|
||||
|
||||
}
|
||||
|
||||
value := cache.buildTree(key)
|
||||
cache.cache[key] = value
|
||||
return value
|
||||
|
Loading…
x
Reference in New Issue
Block a user