removed assert

This commit is contained in:
Michiharu Ariza 2018-12-04 09:24:07 -08:00
parent c968869f21
commit 04f2ca9421
1 changed files with 1 additions and 2 deletions

View File

@ -654,6 +654,7 @@ struct NameDictValues
static inline enum NameDictValIndex name_op_to_index (OpCode op) static inline enum NameDictValIndex name_op_to_index (OpCode op)
{ {
switch (op) { switch (op) {
default:
case OpCode_version: case OpCode_version:
return version; return version;
case OpCode_Notice: case OpCode_Notice:
@ -670,8 +671,6 @@ struct NameDictValues
return postscript; return postscript;
case OpCode_FontName: case OpCode_FontName:
return fontName; return fontName;
default:
assert (0);
} }
} }