wasm: add missing init reported by coverity

Signed-off-by: Michael Dawson <mdawson@devrus.com>

PR-URL: https://github.com/nodejs/node/pull/42897
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Mestery <mestery@protonmail.com>
This commit is contained in:
Michael Dawson 2022-04-28 11:46:00 -04:00
parent ec1c61662e
commit 7649989876
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ class WasmStreamingObject final : public BaseObject {
static void Abort(const v8::FunctionCallbackInfo<v8::Value>& args);
std::shared_ptr<v8::WasmStreaming> streaming_;
size_t wasm_size_;
size_t wasm_size_ = 0;
};
// This is a v8::WasmStreamingCallback implementation that must be passed to