]> git.lizzy.rs Git - go-anidb.git/commitdiff
anidb: Remove commented out code
authorDiogo Franco (Kovensky) <diogomfranco@gmail.com>
Sun, 14 Jul 2013 05:07:29 +0000 (02:07 -0300)
committerDiogo Franco (Kovensky) <diogomfranco@gmail.com>
Sun, 14 Jul 2013 05:07:29 +0000 (02:07 -0300)
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)