Explorar el Código

go vet: remove unreachable code

Gustav Paul hace 11 años
padre
commit
ecbc06793a
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  1. 0 1
      memcache/memcache.go

+ 0 - 1
memcache/memcache.go

@@ -418,7 +418,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.