Browse Source

Merge pull request #22 from gpaul/master

go vet: remove unreachable code
Brad Fitzpatrick 11 years ago
parent
commit
4faecadd4f
1 changed files with 0 additions and 1 deletions
  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]
 		it.Value = it.Value[:size]
 		cb(it)
 		cb(it)
 	}
 	}
-	panic("unreached")
 }
 }
 
 
 // scanGetResponseLine populates it and returns the declared size of the item.
 // scanGetResponseLine populates it and returns the declared size of the item.