[#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 7a75b3aaaf
commit 6e2f7e291d

View file

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