未验证 提交 d2930ef3 编写于 作者: B Bernard Xiong 提交者: GitHub

Merge pull request #1745 from RT-Thread/fix_signal_warning

[Kernel] Fix the compiling warning
......@@ -147,7 +147,7 @@ static void _signal_deliver(rt_thread_t tid)
rt_sighandler_t rt_signal_install(int signo, rt_sighandler_t handler)
{
rt_sighandler_t old;
rt_sighandler_t old = RT_NULL;
rt_thread_t tid = rt_thread_self();
if (!sig_valid(signo)) return SIG_ERR;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册