removed assert
authorMichiharu Ariza <ariza@adobe.com>
Tue, 4 Dec 2018 17:24:07 +0000 (09:24 -0800)
committerMichiharu Ariza <ariza@adobe.com>
Tue, 4 Dec 2018 17:24:07 +0000 (09:24 -0800)
src/hb-ot-cff1-table.hh

index 7bed263..01c0e43 100644 (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);
       }
   }