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 f3fc51c

Browse filesBrowse files
mhdawsondanielleadams
authored andcommitted
test: fix coverity warning in test
Fix uninitialized pointer field warning in test Signed-off-by: Michael Dawson <mdawson@devrus.com> PR-URL: #43631 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent a9ecba2 commit f3fc51c
Copy full SHA for f3fc51c

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

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

‎test/cctest/test_inspector_socket_server.cc‎

Copy file name to clipboardExpand all lines: test/cctest/test_inspector_socket_server.cc
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -301,11 +301,11 @@ class ServerHolder {
301301

302302
class TestSocketServerDelegate : public SocketServerDelegate {
303303
public:
304-
explicit TestSocketServerDelegate(
305-
ServerHolder* server,
306-
const std::vector<std::string>& target_ids)
304+
explicit TestSocketServerDelegate(ServerHolder* server,
305+
const std::vector<std::string>& target_ids)
307306
: harness_(server),
308307
targets_(target_ids),
308+
server_(nullptr),
309309
session_id_(0) {}
310310

311311
~TestSocketServerDelegate() override {

0 commit comments

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