* src/sfnt/ttload.c (tt_face_load_font_dir): Fix compiler warning.

Found by Alexei.
This commit is contained in:
Werner Lemberg 2015-03-06 05:38:31 +01:00
parent dd7498d283
commit 493cc037c7
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2015-03-06 Werner Lemberg <wl@gnu.org>
* src/sfnt/ttload.c (tt_face_load_font_dir): Fix compiler warning.
Found by Alexei.
2015-03-05 Alexei Podtelezhnikov <apodtele@gmail.com>
* src/base/ftstroke.c: Simplify.

View File

@ -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 */