mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2025-12-15 16:29:21 +00:00
Reverting changes in jerry_Exit and adding comment about jerry_AssertFail call.
This commit is contained in:
parent
931815c915
commit
19c15b03b0
@ -69,9 +69,10 @@ jerry_Exit( jerry_Status_t code) /**< status code */
|
||||
case ERR_GENERAL:
|
||||
__printf("ERR_GENERAL\n");
|
||||
break;
|
||||
default:
|
||||
__printf( "Return code is zero");
|
||||
}
|
||||
|
||||
/* The failed assertion is 'Return code is zero' */
|
||||
jerry_AssertFail( "Return code is zero", __FILE__, __LINE__);
|
||||
}
|
||||
#endif /* !JERRY_NDEBUG */
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user