zephyr/main: nlr_jump_fail: Fix noreturn warning.

This commit is contained in:
Paul Sokolovsky 2017-03-13 00:43:36 +03:00
parent 40e541063f
commit f5aac7d33f
1 changed files with 2 additions and 1 deletions

View File

@ -142,7 +142,8 @@ mp_obj_t mp_builtin_open(size_t n_args, const mp_obj_t *args, mp_map_t *kwargs)
}
MP_DEFINE_CONST_FUN_OBJ_KW(mp_builtin_open_obj, 1, mp_builtin_open);
void nlr_jump_fail(void *val) {
NORETURN void nlr_jump_fail(void *val) {
while (1);
}
void NORETURN __fatal_error(const char *msg) {