Fix several typo/warning/unused-code issues (#2655)
- Fix typo in wamr-test-suites script - Fix compilation warnings in libc-wasi posix.c - Remove unused code fast-jit jit_frontend.c - Remove duplicated exception print in `iwasm -f <function>` - Fix return value in void function wasm_runtime_set_wasi_ctx
This commit is contained in:
@ -3169,8 +3169,8 @@ wasi_ssp_sock_open(wasm_exec_env_t exec_env, struct fd_table *curfds,
|
||||
bool is_tcp = SOCKET_DGRAM == socktype ? false : true;
|
||||
bool is_ipv4 = INET6 == af ? false : true;
|
||||
int ret;
|
||||
__wasi_filetype_t wasi_type;
|
||||
__wasi_rights_t max_base, max_inheriting;
|
||||
__wasi_filetype_t wasi_type = __WASI_FILETYPE_UNKNOWN;
|
||||
__wasi_rights_t max_base = 0, max_inheriting = 0;
|
||||
__wasi_errno_t error;
|
||||
|
||||
(void)poolfd;
|
||||
|
||||
Reference in New Issue
Block a user