diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2015-08-01 00:12:01 +0200 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2015-08-01 00:33:29 +0200 |
commit | 4960516c630b9754a62b10da8b21a008dda2cbb6 (patch) | |
tree | f0b594d0190f16c441be6d8cd44122bf0a4d4465 /test/core/surface | |
parent | 4599288f8aec9874950ca61dd9be774fcc00aade (diff) |
Properly initializing reserved pointer in tests.
Diffstat (limited to 'test/core/surface')
-rw-r--r-- | test/core/surface/lame_client_test.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/core/surface/lame_client_test.c b/test/core/surface/lame_client_test.c index 744f9ddcdb..a9d8e41095 100644 --- a/test/core/surface/lame_client_test.c +++ b/test/core/surface/lame_client_test.c @@ -70,6 +70,7 @@ int main(int argc, char **argv) { op->op = GRPC_OP_SEND_INITIAL_METADATA; op->data.send_initial_metadata.count = 0; op->flags = 0; + op->reserved = NULL; op++; op->op = GRPC_OP_RECV_STATUS_ON_CLIENT; op->data.recv_status_on_client.trailing_metadata = &trailing_metadata_recv; @@ -77,6 +78,7 @@ int main(int argc, char **argv) { op->data.recv_status_on_client.status_details = &details; op->data.recv_status_on_client.status_details_capacity = &details_capacity; op->flags = 0; + op->reserved = NULL; op++; error = grpc_call_start_batch(call, ops, op - ops, tag(1), NULL); GPR_ASSERT(GRPC_CALL_OK == error); |