Commit 96fcf87b759b5decfd5344d8c3ae1a4e52d8e09d

Werner Lemberg 2011-12-08T11:22:07

* src/bdf/bdflib.c (_bdf_parse_start): Drop redundant error tracing.

diff --git a/ChangeLog b/ChangeLog
index ab308cf..48ce64d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2011-12-08  Werner Lemberg  <wl@gnu.org>
+
+	* src/bdf/bdflib.c (_bdf_parse_start): Drop redundant error tracing.
+
 2011-12-02  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
 
 	[mac] Unify DARWIN_NO_CARBON with FT_MACINTOSH.
diff --git a/src/bdf/bdflib.c b/src/bdf/bdflib.c
index c43a2ae..f51182e 100644
--- a/src/bdf/bdflib.c
+++ b/src/bdf/bdflib.c
@@ -2066,8 +2066,8 @@
 
       if ( ft_memcmp( line, "STARTFONT", 9 ) != 0 )
       {
-        /* No STARTFONT field is a good indication of a problem. */
-        FT_ERROR(( "_bdf_parse_start: " ERRMSG1, lineno, "STARTFONT" ));
+        /* we don't emit an error message since this code gets */
+        /* explicitly caught one level higher                  */
         error = BDF_Err_Missing_Startfont_Field;
         goto Exit;
       }