Skip to content

Commit

Permalink
inspector: make Coverity happy
Browse files Browse the repository at this point in the history
PR-URL: #17656
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Timothy Gu <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
  • Loading branch information
eugeneo authored and MylesBorins committed Jan 9, 2018
1 parent ac6d0d6 commit fa371e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/inspector_socket.cc
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ class WriteRequest {
WriteRequest(ProtocolHandler* handler, const std::vector<char>& buffer)
: handler(handler)
, storage(buffer)
, req(uv_write_t())
, buf(uv_buf_init(storage.data(), storage.size())) {}

static WriteRequest* from_write_req(uv_write_t* req) {
Expand Down

0 comments on commit fa371e8

Please sign in to comment.