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 <mdawson@devrus.com>

PR-URL: #40379
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
  • 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
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.