Fix clang tidy

reviewable/pr13883/r1
ncteisen 7 years ago
parent f935ab4141
commit 0084d3d5ea
  1. 4
      src/core/lib/channel/channel_tracer.cc

@ -67,8 +67,8 @@ ChannelTracer::ChannelTracer(size_t max_nodes)
num_children_seen_(0), num_children_seen_(0),
list_size_(0), list_size_(0),
max_list_size_(max_nodes), max_list_size_(max_nodes),
head_trace_(0), head_trace_(nullptr),
tail_trace_(0) { tail_trace_(nullptr) {
if (!max_list_size_) return; // tracing is disabled if max_nodes == 0 if (!max_list_size_) return; // tracing is disabled if max_nodes == 0
gpr_mu_init(&tracer_mu_); gpr_mu_init(&tracer_mu_);
gpr_ref_init(&refs_, 1); gpr_ref_init(&refs_, 1);

Loading…
Cancel
Save