Merge branch 'master' into cff-leak

This commit is contained in:
Michiharu Ariza 2018-12-04 11:01:26 -08:00
commit 803d2f92dc
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);
} }
} }