From fc4523bd00c837fcea319decc073caf1e7261c3b Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Thu, 21 Jan 2016 06:20:20 +0100 Subject: [PATCH] [gxvalid] Remove commented out code. * src/gxvalid/gxvcommn.c (gxv_EntryTable_validate): Do it. --- ChangeLog | 6 ++++++ src/gxvalid/gxvcommn.c | 9 --------- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index 64fc0ce32..1a4dd4403 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2016-01-21 Werner Lemberg + + [gxvalid] Remove commented out code. + + * src/gxvalid/gxvcommn.c (gxv_EntryTable_validate): Do it. + 2016-01-20 Werner Lemberg [autofix] Complete last autofit commit. diff --git a/src/gxvalid/gxvcommn.c b/src/gxvalid/gxvcommn.c index 37a4c2959..2606e57dd 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;