commit edfad2f38c20b36c2a9dff1014b5e0e54f433842
parent da8b674172616421722052dbaef75054bf063303
Author: William Casarin <jb55@jb55.com>
Date: Sat, 17 Jul 2021 07:22:03 -0700
appease gcc
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/wasm.c b/src/wasm.c
@@ -3208,7 +3208,7 @@ static INLINE int has_memory_section(struct module *module)
static int interp_memory_grow(struct wasm_interp *interp)
{
struct cursor *code;
- int pages, prev_size;
+ int pages = 0, prev_size;
unsigned int grow;
u8 memidx;