Skip to content

Commit

Permalink
src: remove unused private data member
Browse files Browse the repository at this point in the history
PR-URL: #20974
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Joyee Cheung <[email protected]>
Reviewed-By: Tiancheng "Timothy" Gu <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
  • Loading branch information
bnoordhuis authored and addaleax committed May 31, 2018
1 parent c2ae93d commit ebbd036
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/tracing/node_trace_buffer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ void InternalTraceBuffer::ExtractHandle(

NodeTraceBuffer::NodeTraceBuffer(size_t max_chunks,
Agent* agent, uv_loop_t* tracing_loop)
: tracing_loop_(tracing_loop), agent_(agent),
: tracing_loop_(tracing_loop),
buffer1_(max_chunks, 0, agent),
buffer2_(max_chunks, 1, agent) {
current_buf_.store(&buffer1_);
Expand Down
1 change: 0 additions & 1 deletion src/tracing/node_trace_buffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ class NodeTraceBuffer : public TraceBuffer {
Mutex exit_mutex_;
// Used to wait until async handles have been closed.
ConditionVariable exit_cond_;
Agent* agent_;
std::atomic<InternalTraceBuffer*> current_buf_;
InternalTraceBuffer buffer1_;
InternalTraceBuffer buffer2_;
Expand Down

0 comments on commit ebbd036

Please sign in to comment.