Remove redundant assignment

pull/9626/head
Muxi Yan 8 years ago
parent 02646c3f62
commit 6cc2a993a4
  1. 3
      src/core/ext/transport/chttp2/transport/chttp2_transport.c

@ -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(

Loading…
Cancel
Save