Fix 'control reaches end of non-void function' compile error for 'noreturn'

JerryScript-DCO-1.0-Signed-off-by: SaeHie Park saehie.park@samsung.com
This commit is contained in:
SaeHie Park 2015-08-18 09:50:47 +09:00
parent b3b87add02
commit 63d3e02b59

View File

@ -68,6 +68,11 @@ jerry_fatal (jerry_fatal_code_t code) /**< status code */
{
exit (code);
}
/* to make compiler happy for some RTOS: 'control reaches end of non-void function' */
while (true)
{
}
} /* jerry_fatal */
/**