Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f9f2442

Browse filesBrowse files
mhdawsontargos
authored andcommitted
src: add missing inialization in agent.h
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>
1 parent b84f101 commit f9f2442
Copy full SHA for f9f2442

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎src/tracing/agent.h‎

Copy file name to clipboardExpand all lines: src/tracing/agent.h
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ class AgentWriterHandle {
7676
inline AgentWriterHandle(Agent* agent, int id) : agent_(agent), id_(id) {}
7777

7878
Agent* agent_ = nullptr;
79-
int id_;
79+
int id_ = 0;
8080

8181
friend class Agent;
8282
};

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.