Merge pull request #1444 from harfbuzz/cff-assert

removed assert, fixes https://github.com/harfbuzz/harfbuzz/issues/1443
This commit is contained in:
Ebrahim Byagowi 2018-12-04 21:30:07 +03:30 committed by GitHub
commit c775adc138
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)
{
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);
}
}