Skip to content
Snippets Groups Projects
Unverified Commit 51a69922 authored by hcaseyal's avatar hcaseyal Committed by GitHub
Browse files

Merge pull request #20006 from hcaseyal/fix_client_idle_filter

Fix warning in client_idle_filter.cc to support gcc8
parents 073b2343 257737f2
No related branches found
No related tags found
No related merge requests found
...@@ -370,7 +370,7 @@ void ChannelData::EnterIdle() { ...@@ -370,7 +370,7 @@ void ChannelData::EnterIdle() {
// Hold a ref to the channel stack for the transport op. // Hold a ref to the channel stack for the transport op.
GRPC_CHANNEL_STACK_REF(channel_stack_, "idle transport op"); GRPC_CHANNEL_STACK_REF(channel_stack_, "idle transport op");
// Initialize the transport op. // Initialize the transport op.
memset(&idle_transport_op_, 0, sizeof(idle_transport_op_)); idle_transport_op_ = {};
idle_transport_op_.disconnect_with_error = grpc_error_set_int( idle_transport_op_.disconnect_with_error = grpc_error_set_int(
GRPC_ERROR_CREATE_FROM_STATIC_STRING("enter idle"), GRPC_ERROR_CREATE_FROM_STATIC_STRING("enter idle"),
GRPC_ERROR_INT_CHANNEL_CONNECTIVITY_STATE, GRPC_CHANNEL_IDLE); GRPC_ERROR_INT_CHANNEL_CONNECTIVITY_STATE, GRPC_CHANNEL_IDLE);
......
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