[gxvalid] Remove commented out code. * src/gxvalid/gxvcommn.c (gxv_EntryTable_validate): Do it.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
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;