Browse Source

go vet: remove unreachable code

Gustav Paul 11 years ago
parent
commit
ecbc06793a
1 changed files with 0 additions and 1 deletions
  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]
 		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.