aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2018-01-18 16:21:08 +0100
committerGravatar Jan Tattermusch <jtattermusch@google.com>2018-01-18 16:23:26 +0100
commitb5089297dbe528c773233ed1a7bb429e880f4d5a (patch)
tree2ed89f5533fce2f423fcec5dc5ea1a3d64664476
parent5eb6148ab4e95ea472af2033bd976317992fe18f (diff)
fix "not enough actual parameters for macro" warning
-rw-r--r--src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc b/src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc
index dca345566a..5a36acaa57 100644
--- a/src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc
+++ b/src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc
@@ -484,7 +484,7 @@ static void rr_connectivity_changed_locked(void* arg, grpc_error* error) {
break;
}
case GRPC_CHANNEL_SHUTDOWN:
- GPR_UNREACHABLE_CODE();
+ GPR_UNREACHABLE_CODE(return );
case GRPC_CHANNEL_CONNECTING:
case GRPC_CHANNEL_IDLE:; // fallthrough
}