Skip to content
Snippets Groups Projects
Commit 6cc2a993 authored by Muxi Yan's avatar Muxi Yan
Browse files

Remove redundant assignment

parent 02646c3f
No related branches found
No related tags found
No related merge requests found
......@@ -2626,10 +2626,9 @@ static void incoming_byte_stream_publish_error(
grpc_closure_sched(exec_ctx, s->on_next, GRPC_ERROR_REF(error));
s->on_next = NULL;
GRPC_ERROR_UNREF(s->byte_stream_error);
s->byte_stream_error = GRPC_ERROR_NONE;
s->byte_stream_error = GRPC_ERROR_REF(error);
grpc_chttp2_cancel_stream(exec_ctx, bs->transport, bs->stream,
GRPC_ERROR_REF(error));
s->byte_stream_error = GRPC_ERROR_REF(error);
}
grpc_error *grpc_chttp2_incoming_byte_stream_push(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment