Skip to content

Commit 5356dfd

Browse files
mhdawsondanielleadams
authored andcommitted
inspector: add missing initialization
Add missing initialization flagged by Coverity Signed-off-by: Michael Dawson <[email protected]> PR-URL: #41022 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 35d0a4e commit 5356dfd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/cctest/test_inspector_socket_server.cc

+1
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,7 @@ class TestSocketServerDelegate : public SocketServerDelegate {
354354

355355
ServerHolder::ServerHolder(bool has_targets, uv_loop_t* loop,
356356
const std::string& host, int port, FILE* out) {
357+
session_id_ = 0;
357358
std::vector<std::string> targets;
358359
if (has_targets)
359360
targets = { MAIN_TARGET_ID };

0 commit comments

Comments
 (0)