use UNREACHABLE macro

This commit is contained in:
Yuichi Nishiwaki 2014-03-24 15:30:32 +09:00
parent b29832d2c5
commit b61da9bc47
1 changed files with 1 additions and 2 deletions

View File

@ -488,8 +488,7 @@ macroexpand(pic_state *pic, pic_value expr, struct pic_senv *senv)
pic_error(pic, "unexpected value type"); pic_error(pic, "unexpected value type");
return pic_undef_value(); /* unreachable */ return pic_undef_value(); /* unreachable */
} }
/* suppress warnings, never be called */ UNREACHABLE();
abort();
} }
static pic_value static pic_value