[#1818] writecache: Remove unused variable

Signed-off-by: Evgenii Stratonikov <evgeniy@morphbits.ru>
This commit is contained in:
Evgenii Stratonikov 2022-10-18 17:26:56 +03:00 committed by fyrchik
parent bb52857b2b
commit a56927e3d4

View file

@ -137,8 +137,6 @@ func (c *cache) flushBigObjects() {
break break
} }
evictNum := 0
var prm common.IteratePrm var prm common.IteratePrm
prm.LazyHandler = func(addr oid.Address, f func() ([]byte, error)) error { prm.LazyHandler = func(addr oid.Address, f func() ([]byte, error)) error {
sAddr := addr.EncodeToString() sAddr := addr.EncodeToString()
@ -176,8 +174,6 @@ func (c *cache) flushBigObjects() {
// mark object as flushed // mark object as flushed
c.flushed.Add(sAddr, false) c.flushed.Add(sAddr, false)
evictNum++
return nil return nil
} }