[#1388] metabase: Drop unused

Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
Dmitrii Stepanov 2024-09-23 09:12:01 +03:00 committed by Dmitrii Stepanov
parent 004ff9e9bf
commit 401c398704

View file

@ -77,8 +77,6 @@ func (p *DeletePrm) SetAddresses(addrs ...oid.Address) {
type referenceNumber struct { type referenceNumber struct {
all, cur int all, cur int
addr oid.Address
obj *objectSDK.Object obj *objectSDK.Object
} }
@ -295,9 +293,8 @@ func (db *DB) delete(tx *bbolt.Tx, addr oid.Address, refCounter referenceCounter
nRef, ok := refCounter[k] nRef, ok := refCounter[k]
if !ok { if !ok {
nRef = &referenceNumber{ nRef = &referenceNumber{
all: parentLength(tx, parAddr), all: parentLength(tx, parAddr),
addr: parAddr, obj: parent,
obj: parent,
} }
refCounter[k] = nRef refCounter[k] = nRef