[#1431] metabase: Fix unreachable code
Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
This commit is contained in:
parent
714ff784fa
commit
3012286452
1 changed files with 1 additions and 1 deletions
|
@ -453,7 +453,7 @@ func delFKBTIndexItem(tx *bbolt.Tx, item namedBucketItem) error {
|
|||
func hasAnyItem(b *bbolt.Bucket) bool {
|
||||
var hasAnyItem bool
|
||||
c := b.Cursor()
|
||||
for k, _ := c.First(); k != nil; k, _ = c.Next() {
|
||||
for k, _ := c.First(); k != nil; {
|
||||
hasAnyItem = true
|
||||
break
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue