aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Muxi Yan <muxi@users.noreply.github.com>2017-11-28 10:26:39 +0800
committerGravatar GitHub <noreply@github.com>2017-11-28 10:26:39 +0800
commit67cef079466b18abbc9e8fa2752bedc373ac2c69 (patch)
treed9ab0a43df439240876f4ab25b024a9e755adfd1 /src
parentc762a388798b45cb8921ca2fa335b000003fd68c (diff)
parent9f6a6f3f1a1ab44834ef5d4c3e4601e07c6287ed (diff)
Merge pull request #13512 from grpc/fix-subchannel-index
Fix compiler error on `need_to_unref_constructed`
Diffstat (limited to 'src')
-rw-r--r--src/core/ext/filters/client_channel/subchannel_index.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ext/filters/client_channel/subchannel_index.cc b/src/core/ext/filters/client_channel/subchannel_index.cc
index ae39ca394e..1624643d0b 100644
--- a/src/core/ext/filters/client_channel/subchannel_index.cc
+++ b/src/core/ext/filters/client_channel/subchannel_index.cc
@@ -163,7 +163,7 @@ grpc_subchannel* grpc_subchannel_index_register(grpc_exec_ctx* exec_ctx,
grpc_subchannel_key* key,
grpc_subchannel* constructed) {
grpc_subchannel* c = nullptr;
- bool need_to_unref_constructed;
+ bool need_to_unref_constructed = false;
while (c == nullptr) {
need_to_unref_constructed = false;