diff options
author | Eugene Ostroukhov <eostroukhov@google.com> | 2017-12-13 20:24:35 +0300 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2017-12-27 21:41:08 +0300 |
commit | c0e9cded1ec9daeec178d536b39acf944f80809c (patch) | |
tree | 10be24f9de29889dfc5e791a2bd3e6bb6b267e35 /src/inspector_socket.cc | |
parent | 71396a200d75b11a71af7caae18d12f3dc461d07 (diff) |
inspector: make Coverity happy
PR-URL: https://github.com/nodejs/node/pull/17656
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Timothy Gu <timothygu99@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'src/inspector_socket.cc')
-rw-r--r-- | src/inspector_socket.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/inspector_socket.cc b/src/inspector_socket.cc index 386b4c3af07..ad8b502da30 100644 --- a/src/inspector_socket.cc +++ b/src/inspector_socket.cc @@ -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) { |