]> git.lizzy.rs Git - go-anidb.git/blobdiff - cache.go
anidb: Remove commented out code
[go-anidb.git] / cache.go
index faf2ce4400414995d312c27e8e3c1e9bd7c07be9..0679a7d14efafc3d0ee270a75685290fc08d331a 100644 (file)
--- 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)