mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2025-12-15 16:29:21 +00:00
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:
parent
b3b87add02
commit
63d3e02b59
@ -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 */
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user