Explorar o código

Merge pull request #22 from gpaul/master

go vet: remove unreachable code
Brad Fitzpatrick %!s(int64=12) %!d(string=hai) anos
pai
achega
4faecadd4f
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      memcache/memcache.go

+ 0 - 1
memcache/memcache.go

@@ -476,7 +476,6 @@ func parseGetResponse(r *bufio.Reader, cb func(*Item)) error {
 		it.Value = it.Value[:size]
 		cb(it)
 	}
-	panic("unreached")
 }
 
 // scanGetResponseLine populates it and returns the declared size of the item.