Sfoglia il codice sorgente

Merge pull request #22 from gpaul/master

go vet: remove unreachable code
Brad Fitzpatrick 12 anni fa
parent
commit
4faecadd4f
1 ha cambiato i file con 0 aggiunte e 1 eliminazioni
  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.