From 122c09d91eba3ced2664fe355c9e04dc65dac996 Mon Sep 17 00:00:00 2001 From: Yuichi Nishiwaki Date: Sun, 19 Jan 2014 00:55:19 -0800 Subject: [PATCH] add logic flaw gate in pic_type_repr --- include/picrin/value.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/picrin/value.h b/include/picrin/value.h index 0d9ed4be..0c2dd8aa 100644 --- a/include/picrin/value.h +++ b/include/picrin/value.h @@ -257,6 +257,7 @@ pic_type_repr(enum pic_tt tt) case PIC_TT_IREP: return "irep"; } + return 0; /* logic flaw */ } static inline pic_value