Skip to content

Commit

Permalink
wasm: add missing init reported by coverity
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Dawson <mdawson@devrus.com>

PR-URL: #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>
  • Loading branch information
mhdawson authored and BethGriggs committed May 16, 2022
1 parent c988a0e commit 55ef6e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node_wasm_web_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 55ef6e8

Please sign in to comment.