mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
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: https://github.com/nodejs/node/pull/40379 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Minwoo Jung <nodecorelab@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com>
This commit is contained in:
1 parent
b84f101049
commit
f9f2442739
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user