shithub: freetype+ttf2subf

Download patch

ref: fc4523bd00c837fcea319decc073caf1e7261c3b
parent: fb672897f8116e0691564fa18658aec38e9f7c6b
author: Werner Lemberg <[email protected]>
date: Thu Jan 21 01:20:20 EST 2016

[gxvalid] Remove commented out code.

* src/gxvalid/gxvcommn.c (gxv_EntryTable_validate): Do it.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2016-01-21  Werner Lemberg  <[email protected]>
+
+	[gxvalid] Remove commented out code.
+
+	* src/gxvalid/gxvcommn.c (gxv_EntryTable_validate): Do it.
+
 2016-01-20  Werner Lemberg  <[email protected]>
 
 	[autofix] Complete last autofit commit.
--- a/src/gxvalid/gxvcommn.c
+++ b/src/gxvalid/gxvcommn.c
@@ -1159,12 +1159,6 @@
       case GXV_GLYPHOFFSET_LONG:
         glyphOffset.l = FT_NEXT_LONG( p );
         break;
-
-#if 0
-      default:
-        GXV_SET_ERR_IF_PARANOID( FT_INVALID_FORMAT );
-        goto Exit;
-#endif
       }
 
       if ( NULL != gxvalid->statetable.entry_validate_func )
@@ -1176,9 +1170,6 @@
                                                  gxvalid );
     }
 
-#if 0
-  Exit:
-#endif
     *length_p = (FT_UShort)( p - table );
 
     GXV_EXIT;