From 04f2ca94212983d675ed2cd36350be23ff2a6e19 Mon Sep 17 00:00:00 2001 From: Michiharu Ariza Date: Tue, 4 Dec 2018 09:24:07 -0800 Subject: [PATCH] removed assert --- src/hb-ot-cff1-table.hh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/hb-ot-cff1-table.hh b/src/hb-ot-cff1-table.hh index 7bed26360..01c0e4354 100644 --- a/src/hb-ot-cff1-table.hh +++ b/src/hb-ot-cff1-table.hh @@ -654,6 +654,7 @@ struct NameDictValues static inline enum NameDictValIndex name_op_to_index (OpCode op) { switch (op) { + default: case OpCode_version: return version; case OpCode_Notice: @@ -670,8 +671,6 @@ struct NameDictValues return postscript; case OpCode_FontName: return fontName; - default: - assert (0); } }