wasm-micro-runtime/core/iwasm/libraries
Haiyue Wang 625c95816d
Fix switch-case fallthrough compilation warning (#2753)
The commit fa5e9d72b0 ("Abstract POSIX filesystem functions") introduces
the build warning:

./core/iwasm/libraries/libc-wasi/sandboxed-system-primitives/src/posix.c: In function ‘fd_object_release’:
./core/iwasm/libraries/libc-wasi/sandboxed-system-primitives/src/posix.c:545:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
  545 |                 if (os_is_dir_stream_valid(&fo->directory.handle)) {
      |                    ^
./core/iwasm/libraries/libc-wasi/sandboxed-system-primitives/src/posix.c:549:13: note: here
  549 |             default:
      |             ^~~~~~~

Refer to the commit fb4afc7ca4 ("Apply clang-format for core/iwasm compilation and libraries"),
add one line "// Fallthrough." to make compiler happy.

Signed-off-by: Haiyue Wang <haiyue.wang@intel.com>
2023-11-13 15:01:13 +08:00
..
debug-engine Update release notes and fix issues reported by Coverity (#1813) 2022-12-20 14:37:07 +08:00
lib-pthread Implement module instance context APIs (#2436) 2023-09-07 14:54:11 +08:00
lib-rats sgx-ra: Disable the building of samples (#2507) 2023-08-28 09:42:16 +08:00
lib-socket Enable WASI tests on Windows CI (#2699) 2023-11-06 19:24:06 +08:00
lib-wasi-threads Refactor stress tests to make them runnable in reactor mode (#2614) 2023-10-04 08:10:10 +08:00
libc-builtin Clear some warnings and enable -Werror for NuttX (#1756) 2022-11-28 09:44:33 +08:00
libc-emcc Expose wasm_runtime_call_indirect (#1969) 2023-02-20 18:56:55 +08:00
libc-uvwasi Update libuv version to v1.46.0 (#2405) 2023-07-31 18:32:20 +08:00
libc-wasi Fix switch-case fallthrough compilation warning (#2753) 2023-11-13 15:01:13 +08:00
thread-mgr Grab cluster->lock when modifying exec_env->module_inst (#2685) 2023-11-09 18:56:02 +08:00
wasi-nn Remove module instance from hashmap in wasi_nn_destroy (#2613) 2023-10-03 08:33:11 +08:00