[quality] fixup compiler warning (#8961)

Signed-off-by: Shell <smokewood@qq.com>
This commit is contained in:
Shell
2024-05-21 19:47:42 +08:00
committed by GitHub
parent 5f947863b4
commit 6b12bce22f
2 changed files with 5 additions and 4 deletions
+1
View File
@@ -83,6 +83,7 @@ void lwp_pid_lock_take(void)
rc = lwp_mutex_take_safe(&pid_mtx, RT_WAITING_FOREVER, 0);
/* should never failed */
RT_ASSERT(rc == RT_EOK);
RT_UNUSED(rc);
}
void lwp_pid_lock_release(void)