From 8d4fca3fb5471a139b1c68017c9c7ea3f97d5e3a Mon Sep 17 00:00:00 2001 From: Eugene Ostroukhov Date: Wed, 13 Dec 2017 09:24:35 -0800 Subject: [PATCH] inspector: make Coverity happy PR-URL: https://github.com/nodejs/node/pull/17656 Reviewed-By: Colin Ihrig Reviewed-By: Timothy Gu Reviewed-By: Ben Noordhuis Reviewed-By: James M Snell Reviewed-By: Anna Henningsen --- src/inspector_socket.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/inspector_socket.cc b/src/inspector_socket.cc index 386b4c3af07a2d..ad8b502da307c0 100644 --- a/src/inspector_socket.cc +++ b/src/inspector_socket.cc @@ -116,6 +116,7 @@ class WriteRequest { WriteRequest(ProtocolHandler* handler, const std::vector& 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) {