aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@users.noreply.github.com>2016-10-06 16:12:27 +0200
committerGravatar GitHub <noreply@github.com>2016-10-06 16:12:27 +0200
commit3a9f49d409d5fa552ea6053eedfa0a8e27d160e0 (patch)
treef984e47d9353cceef7fe668a2e60b1724a13d5b2 /src/core
parentc43aa51fb0a106688a46bb15c951ee0b0b768f30 (diff)
parentbc4ea6d727692c1720df7a3480f8d86c73d68df0 (diff)
Merge pull request #8299 from jtattermusch/fix_cronet_compilation_error
Fix cronet compilation error
Diffstat (limited to 'src/core')
-rw-r--r--src/core/ext/transport/cronet/transport/cronet_transport.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/ext/transport/cronet/transport/cronet_transport.c b/src/core/ext/transport/cronet/transport/cronet_transport.c
index 19e43673b9..f7f57ac825 100644
--- a/src/core/ext/transport/cronet/transport/cronet_transport.c
+++ b/src/core/ext/transport/cronet/transport/cronet_transport.c
@@ -780,8 +780,8 @@ static enum e_op_result execute_stream_op(grpc_exec_ctx *exec_ctx,
s->cbs = cronet_bidirectional_stream_create(s->curr_ct.engine, s->curr_gs,
&cronet_callbacks);
CRONET_LOG(GPR_DEBUG, "%p = cronet_bidirectional_stream_create()", s->cbs);
- char *url;
- const char *method;
+ char *url = NULL;
+ const char *method = NULL;
s->header_array.headers = NULL;
convert_metadata_to_cronet_headers(
stream_op->send_initial_metadata->list.head, s->curr_ct.host, &url,