فهرست منبع

go vet: remove unreachable code

Gustav Paul 11 سال پیش
والد
کامیت
ecbc06793a
1فایلهای تغییر یافته به همراه0 افزوده شده و 1 حذف شده
  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.