From a0bad1695c8991c3ff755cab76222df8d6f9c348 Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Wed, 29 Jul 2015 22:40:47 +0200 Subject: [PATCH] Remove comment --- checker/checker.go | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/checker/checker.go b/checker/checker.go index 239b0db04..d8ac497d6 100644 --- a/checker/checker.go +++ b/checker/checker.go @@ -489,21 +489,6 @@ func (c *Checker) Structure(errChan chan<- error, done <-chan struct{}) { func (c *Checker) checkTree(id backend.ID, tree *restic.Tree) (errs []error) { debug.Log("Checker.checkTree", "checking tree %v", id.Str()) - // if _, ok := c.blobs[id2map(id)]; !ok { - // errs = append(errs, Error{TreeID: id, Err: errors.New("not found in index")}) - // } - - // blobs, subtrees, treeErrors := c.tree(id) - // if treeErrors != nil { - // debug.Log("Checker.trees", "error checking tree %v: %v", id.Str(), treeErrors) - // errs = append(errs, treeErrors...) - // continue - // } - - // treeIDs = append(treeIDs, subtrees...) - - // treesChecked[id2map(id)] = struct{}{} - var blobs []backend.ID for i, node := range tree.Nodes {