From: Diogo Franco (Kovensky) Date: Sun, 14 Jul 2013 05:07:29 +0000 (-0300) Subject: anidb: Remove commented out code X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=a6d698d50430a58b8b46597d37d9742c3e0515df;p=go-anidb.git anidb: Remove commented out code --- diff --git a/cache.go b/cache.go index faf2ce4..0679a7d 100644 --- a/cache.go +++ b/cache.go @@ -194,12 +194,6 @@ func (c *cacheDir) Get(v Cacheable, keys ...cacheKey) (err error) { } }() - // defer func() { - // if err == io.EOF { - // err = nil - // } - // }() - switch f := gz.Header.Comment; f { case "encoding/gob": dec := gob.NewDecoder(gz)