From 3067079eec5759fbbbf81872b32a9ae4a2dd99fc Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Fri, 30 Oct 2015 22:13:30 -0700 Subject: function scopes --- src/wasm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/wasm.h') diff --git a/src/wasm.h b/src/wasm.h index 07cddfcdd..097ce1900 100644 --- a/src/wasm.h +++ b/src/wasm.h @@ -164,7 +164,7 @@ struct Literal { double f64; }; - Literal() : type(WasmType::none) {} + Literal() : type(WasmType::none), f64(0) {} Literal(int32_t init) : type(WasmType::i32), i32(init) {} Literal(int64_t init) : type(WasmType::i64), i64(init) {} Literal(float init) : type(WasmType::f32), f32(init) {} -- cgit v1.2.3