aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/ext/filters/client_channel
diff options
context:
space:
mode:
authorGravatar Yash Tibrewal <yashkt@google.com>2017-09-18 15:10:22 -0700
committerGravatar Yash Tibrewal <yashkt@google.com>2017-09-18 15:42:41 -0700
commit06312bdb43c66150e59958479640913c3726ee10 (patch)
tree1308fc9cfbc3e62297e2c37d5ad25f1b6e716cc4 /src/core/ext/filters/client_channel
parente203067bdcd9522446aa106ce77085c62a932c49 (diff)
Minor formatting, commenting and clang format for C to C++ conversion
Diffstat (limited to 'src/core/ext/filters/client_channel')
-rw-r--r--src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.c b/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.c
index 9975b1ef79..04379975e1 100644
--- a/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.c
+++ b/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.c
@@ -276,7 +276,7 @@ static void on_txt_done_cb(void *arg, int status, int timeouts,
char *error_msg;
grpc_ares_request *r = (grpc_ares_request *)arg;
const size_t prefix_len = sizeof(g_service_config_attribute_prefix) - 1;
- struct ares_txt_ext *result;
+ struct ares_txt_ext *result = NULL;
struct ares_txt_ext *reply = NULL;
grpc_error *error = GRPC_ERROR_NONE;
gpr_mu_lock(&r->mu);