Remove unused var.
This commit is contained in:
parent
975d6b2580
commit
e79b37aa00
|
@ -117,7 +117,6 @@ impl Session {
|
||||||
|
|
||||||
async fn run_segment(mut segment: segment::Publisher, mut stream: RecvStream) -> anyhow::Result<()> {
|
async fn run_segment(mut segment: segment::Publisher, mut stream: RecvStream) -> anyhow::Result<()> {
|
||||||
let mut buf = BytesMut::new();
|
let mut buf = BytesMut::new();
|
||||||
let _prev = 0;
|
|
||||||
|
|
||||||
loop {
|
loop {
|
||||||
let size = stream.read_buf(&mut buf).await?;
|
let size = stream.read_buf(&mut buf).await?;
|
||||||
|
|
Loading…
Reference in New Issue