Commit fc4523bd00c837fcea319decc073caf1e7261c3b

Werner Lemberg 2016-01-21T06:20:20

[gxvalid] Remove commented out code. * src/gxvalid/gxvcommn.c (gxv_EntryTable_validate): Do it.

diff --git a/ChangeLog b/ChangeLog
index 64fc0ce..1a4dd44 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2016-01-21  Werner Lemberg  <wl@gnu.org>
+
+	[gxvalid] Remove commented out code.
+
+	* src/gxvalid/gxvcommn.c (gxv_EntryTable_validate): Do it.
+
 2016-01-20  Werner Lemberg  <wl@gnu.org>
 
 	[autofix] Complete last autofit commit.
diff --git a/src/gxvalid/gxvcommn.c b/src/gxvalid/gxvcommn.c
index 37a4c29..2606e57 100644
--- 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;