Skip to content

Commit 55ef6e8

Browse files
mhdawsonBethGriggs
authored andcommitted
wasm: add missing init reported by coverity
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>
1 parent c988a0e commit 55ef6e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node_wasm_web_api.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class WasmStreamingObject final : public BaseObject {
3939
static void Abort(const v8::FunctionCallbackInfo<v8::Value>& args);
4040

4141
std::shared_ptr<v8::WasmStreaming> streaming_;
42-
size_t wasm_size_;
42+
size_t wasm_size_ = 0;
4343
};
4444

4545
// This is a v8::WasmStreamingCallback implementation that must be passed to

0 commit comments

Comments
 (0)