ref: 493cc037c760e5a81e31dc70711ba05ee5a6b8fa
parent: dd7498d28394ce77e8df97918a865b70201b5c55
author: Werner Lemberg <[email protected]>
date: Fri Mar 6 00:38:31 EST 2015
* src/sfnt/ttload.c (tt_face_load_font_dir): Fix compiler warning. Found by Alexei.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2015-03-06 Werner Lemberg <[email protected]>
+
+ * src/sfnt/ttload.c (tt_face_load_font_dir): Fix compiler warning.
+
+ Found by Alexei.
+
2015-03-05 Alexei Podtelezhnikov <[email protected]>
* src/base/ftstroke.c: Simplify.
--- a/src/sfnt/ttload.c
+++ b/src/sfnt/ttload.c
@@ -417,7 +417,9 @@
if ( entry->Tag == TTAG_hmtx ||
entry->Tag == TTAG_vmtx )
{
+#ifdef FT_DEBUG_LEVEL_TRACE
FT_ULong old_length = entry->Length;
+#endif
/* make metrics table length a multiple of 4 */