Index: src/wasm/wasm-js.cc |
diff --git a/src/wasm/wasm-js.cc b/src/wasm/wasm-js.cc |
index 811b62f0505bbf6e12afdf85f53710cdb700b6ed..271fe2c06257de3573a6d3f78f19539b3568de45 100644 |
--- a/src/wasm/wasm-js.cc |
+++ b/src/wasm/wasm-js.cc |
@@ -368,7 +368,7 @@ void WebAssemblyTable(const v8::FunctionCallbackInfo<v8::Value>& args) { |
return; |
} |
// The descriptor's 'maximum'. |
- int maximum; |
+ int maximum = 0; |
Local<String> maximum_key = v8_str(isolate, "maximum"); |
Maybe<bool> has_maximum = descriptor->Has(context, maximum_key); |
@@ -420,7 +420,7 @@ void WebAssemblyMemory(const v8::FunctionCallbackInfo<v8::Value>& args) { |
return; |
} |
// The descriptor's 'maximum'. |
- int maximum; |
+ int maximum = 0; |
Local<String> maximum_key = v8_str(isolate, "maximum"); |
Maybe<bool> has_maximum = descriptor->Has(context, maximum_key); |