Fix compiler warning.

* src/psaux/pshints.c (cf2_hintmap_dump): Add switch for tracing code.
GSoC-2017-kushal
Ewald Hew 7 years ago
parent 693a1181d6
commit dd40d10e81
  1. 7
      ChangeLog
  2. 4
      src/psaux/pshints.c

@ -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.

@ -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
}

Loading…
Cancel
Save