diff options
author | Craig Tiller <craig.tiller@gmail.com> | 2015-04-21 11:51:27 -0700 |
---|---|---|
committer | Craig Tiller <craig.tiller@gmail.com> | 2015-04-21 11:51:27 -0700 |
commit | ee15234a86eb2f9bc173e4123f0f2b6ef40c3060 (patch) | |
tree | fa0fd717f20afe2df4aa38ff590effe388c714f9 | |
parent | b116c4f79d601e22b8634ad0f6052e4f3bf07d97 (diff) |
Add /* NDEBUGS */ as appropriate
-rw-r--r-- | src/core/transport/stream_op.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/transport/stream_op.c b/src/core/transport/stream_op.c index ed31ec59a1..882c078d51 100644 --- a/src/core/transport/stream_op.c +++ b/src/core/transport/stream_op.c @@ -99,7 +99,7 @@ static void assert_contained_metadata_ok(grpc_stream_op *ops, size_t nops) { grpc_metadata_batch_assert_ok(&ops[i].data.metadata); } } -#endif +#endif /* NDEBUG */ } static void expandto(grpc_stream_op_buffer *sopb, size_t new_capacity) { @@ -201,7 +201,7 @@ static void assert_valid_list(grpc_mdelem_list *list) { if (l->next) GPR_ASSERT(l->next->prev == l); if (l->prev) GPR_ASSERT(l->prev->next == l); } -#endif +#endif /* NDEBUG */ } #ifndef NDEBUG @@ -209,7 +209,7 @@ void grpc_metadata_batch_assert_ok(grpc_metadata_batch *comd) { assert_valid_list(&comd->list); assert_valid_list(&comd->garbage); } -#endif +#endif /* NDEBUG */ void grpc_metadata_batch_init(grpc_metadata_batch *comd) { comd->list.head = comd->list.tail = comd->garbage.head = comd->garbage.tail = |