Fix compiler warning.

* src/psaux/pshints.c (cf2_hintmap_dump): Add switch for tracing code.
This commit is contained in:
Ewald Hew 2017-09-28 10:42:23 +08:00
parent 693a1181d6
commit dd40d10e81
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2017-09-28 Ewald Hew <ewaldhew@gmail.com>
[psaux] Fix compiler warning.
* src/psaux/pshints.c (cf2_hintmap_dump): Add switch for tracing
code.
2017-09-27 Werner Lemberg <wl@gnu.org>
* src/sfnt/ttload.c (tt_face_load_font_dir): Fix compiler warning.

View File

@ -302,6 +302,7 @@
static void
cf2_hintmap_dump( CF2_HintMap hintmap )
{
#ifdef FT_DEBUG_LEVEL_TRACE
CF2_UInt i;
@ -321,6 +322,9 @@
( cf2_hint_isLocked( hint ) ? "L" : ""),
( cf2_hint_isSynthetic( hint ) ? "S" : "" ) ));
}
#else
FT_UNUSED( hintmap );
#endif
}