From b61da9bc471a91eee697472c91d55db6a901eeb5 Mon Sep 17 00:00:00 2001 From: Yuichi Nishiwaki Date: Mon, 24 Mar 2014 15:30:32 +0900 Subject: [PATCH] use UNREACHABLE macro --- src/macro.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/macro.c b/src/macro.c index 2672883d..6142570f 100644 --- a/src/macro.c +++ b/src/macro.c @@ -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