aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core
diff options
context:
space:
mode:
authorGravatar Craig Tiller <craig.tiller@gmail.com>2015-12-10 14:31:54 -0800
committerGravatar Craig Tiller <craig.tiller@gmail.com>2015-12-10 14:31:54 -0800
commit03f6406b6d908949132f6e3afbdc0b59a12c44fb (patch)
tree3e97fe91ea74b379a6cf08dc5d295d456ae06385 /src/core
parent13180c8a2c63efe89a602af8ab78597f25dedca7 (diff)
Ensure reserved argument is NULL
Diffstat (limited to 'src/core')
-rw-r--r--src/core/surface/channel_ping.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/surface/channel_ping.c b/src/core/surface/channel_ping.c
index f00a52c2c4..1b6f06ded1 100644
--- a/src/core/surface/channel_ping.c
+++ b/src/core/surface/channel_ping.c
@@ -66,6 +66,7 @@ void grpc_channel_ping(grpc_channel *channel, grpc_completion_queue *cq,
grpc_channel_element *top_elem =
grpc_channel_stack_element(grpc_channel_get_channel_stack(channel), 0);
grpc_exec_ctx exec_ctx = GRPC_EXEC_CTX_INIT;
+ GPR_ASSERT(reserved == NULL);
memset(&op, 0, sizeof(op));
pr->tag = tag;
pr->cq = cq;