Commit bbe84ed9726bba6c0bad80fd1bbbabbab57a66fb

Werner Lemberg 2015-12-10T09:33:41

[autofit] Remove redundant code. * src/autofit/aflatin.c (af_latin_metrics_init_widths): Do it.

diff --git a/ChangeLog b/ChangeLog
index e1e3462..5cda52d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2015-12-10  Werner Lemberg  <wl@gnu.org>
+
+	[autofit] Remove redundant code.
+
+	* src/autofit/aflatin.c (af_latin_metrics_init_widths): Do it.
+
 2015-12-09  Werner Lemberg  <wl@gnu.org>
 
 	[autofit] Thinko.
diff --git a/src/autofit/aflatin.c b/src/autofit/aflatin.c
index b85d6cd..3358c99 100644
--- a/src/autofit/aflatin.c
+++ b/src/autofit/aflatin.c
@@ -146,9 +146,6 @@
       if ( !glyph_index )
         goto Exit;
 
-      if ( !glyph_index )
-        goto Exit;
-
       FT_TRACE5(( "standard character: U+%04lX (glyph index %d)\n",
                   ch, glyph_index ));