Skip to content

Commit

Permalink
src: add missing inialization in agent.h
Browse files Browse the repository at this point in the history
This missing initialization was reported by the coverity scans
we are in the process of re-enabling.

Signed-off-by: Michael Dawson <[email protected]>

PR-URL: #40379
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Minwoo Jung <[email protected]>
Reviewed-By: Darshan Sen <[email protected]>
  • Loading branch information
mhdawson authored and targos committed Oct 20, 2021
1 parent b84f101 commit f9f2442
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tracing/agent.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class AgentWriterHandle {
inline AgentWriterHandle(Agent* agent, int id) : agent_(agent), id_(id) {}

Agent* agent_ = nullptr;
int id_;
int id_ = 0;

friend class Agent;
};
Expand Down

0 comments on commit f9f2442

Please sign in to comment.