Clear more compile warnings reported by -Wshadow flag (#899)

This commit is contained in:
Wenyong Huang
2021-12-16 14:47:44 +08:00
committed by GitHub
parent 4258b24bcc
commit 66e6e1f7cd
6 changed files with 46 additions and 46 deletions

View File

@ -1403,7 +1403,7 @@ aot_call_function(WASMExecEnv *exec_env, AOTFunctionInstance *function,
bool ret;
if (argc < func_type->param_cell_num) {
char buf[128];
char buf[108];
snprintf(buf, sizeof(buf),
"invalid argument count %u, must be no smaller than %u", argc,
func_type->param_cell_num);