mirror of
https://github.com/wagoodman/dive
synced 2026-03-14 14:25:50 +01:00
Removed empty else branch
Looks like an artifact from the past.
This commit is contained in:
parent
09296c0214
commit
f533cced97
1 changed files with 1 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue