Fix signal/sig_default.c:195:21: error: unused variable 'rtcb'

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2022-02-05 23:30:38 +08:00 committed by Xiang Xiao
parent 108a5004c5
commit ef1abbbea0
1 changed files with 2 additions and 0 deletions

View File

@ -229,6 +229,8 @@ static void nxsig_abnormal_termination(int signo)
else
#endif
{
UNUSED(rtcb);
/* Exit to terminate the task (note that exit() vs. _exit() is used. */
exit(EXIT_FAILURE);