Skip to content
Snippets Groups Projects
Commit 257737f2 authored by Hope Casey-Allen's avatar Hope Casey-Allen
Browse files

Fix warning in client_idle_filter.cc to support gcc8

parent 83e60447
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.
Please register or to comment