mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-02-07 18:02:15 +08:00
[HUST CSE][kernel][thread] 变量 rt_err 没有初始化 (#7401)
This commit is contained in:
@@ -896,7 +896,7 @@ rt_err_t rt_thread_control(rt_thread_t thread, int cmd, void *arg)
|
||||
|
||||
case RT_THREAD_CTRL_CLOSE:
|
||||
{
|
||||
rt_err_t rt_err;
|
||||
rt_err_t rt_err = -RT_EINVAL;
|
||||
|
||||
if (rt_object_is_systemobject((rt_object_t)thread) == RT_TRUE)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user