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>
This commit is contained in:
Родитель
71396a200d
Коммит
c0e9cded1e
|
@ -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) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче