From: Michiharu Ariza Date: Tue, 4 Dec 2018 17:24:07 +0000 (-0800) Subject: removed assert X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=04f2ca94212983d675ed2cd36350be23ff2a6e19;p=platform%2Fupstream%2FlibHarfBuzzSharp.git removed assert --- diff --git a/src/hb-ot-cff1-table.hh b/src/hb-ot-cff1-table.hh index 7bed263..01c0e43 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); } }