Fix the build warnings on Mac (#388)

Signed-off-by: Xiaokang Qin <xiaokang.qxk@antgroup.com>
This commit is contained in:
Xiaokang Qin
2020-09-18 18:22:26 +08:00
committed by GitHub
parent 2d06567cd1
commit 7c8ccc7c26
7 changed files with 71 additions and 63 deletions

View File

@ -661,7 +661,7 @@ aot_compile_op_call_indirect(AOTCompContext *comp_ctx, AOTFuncContext *func_ctx,
uint32 param_cell_num;
uint64 total_size;
uint8 *wasm_ret_types = NULL;
bool ret;
bool ret = false;
/* Check function type index */
if (type_idx >= comp_ctx->comp_data->func_type_count) {