提交 3f931c0d 编写于 作者: B BernardXiong

[C++] Fix the compiling warning issue

上级 780c09e3
......@@ -6,7 +6,7 @@ Thread::Thread(rt_uint32_t stack_size,
rt_uint8_t priority,
rt_uint32_t tick,
const char *name)
: _entry(RT_NULL), started(false)
: _entry(RT_NULL), _param(RT_NULL), started(false)
{
rt_event_init(&_event, name, 0);
......@@ -24,7 +24,7 @@ Thread::Thread(void (*entry)(void *p),
rt_uint8_t priority,
rt_uint32_t tick,
const char *name)
: _entry(RT_NULL), started(false), _param(p)
: _entry(RT_NULL), _param(p), started(false)
{
rt_event_init(&_event, name, 0);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册