lib/db: Remove unused blockFinder global (#6534)

This commit is contained in:
greatroar 2020-04-14 17:09:59 +02:00 committed by GitHub
parent 37ede49077
commit 82fbcb96f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 6 deletions

View File

@ -13,17 +13,11 @@ import (
"github.com/syncthing/syncthing/lib/osutil"
)
var blockFinder *BlockFinder
type BlockFinder struct {
db *Lowlevel
}
func NewBlockFinder(db *Lowlevel) *BlockFinder {
if blockFinder != nil {
return blockFinder
}
return &BlockFinder{
db: db,
}