use UNREACHABLE macro
This commit is contained in:
parent
b29832d2c5
commit
b61da9bc47
|
@ -488,8 +488,7 @@ macroexpand(pic_state *pic, pic_value expr, struct pic_senv *senv)
|
|||
pic_error(pic, "unexpected value type");
|
||||
return pic_undef_value(); /* unreachable */
|
||||
}
|
||||
/* suppress warnings, never be called */
|
||||
abort();
|
||||
UNREACHABLE();
|
||||
}
|
||||
|
||||
static pic_value
|
||||
|
|
Loading…
Reference in New Issue