[gxvalid] Fix compiler warnings.

* src/gxvalid/gxvjust.c (gxv_just_check_max_gid),
src/gxvalid/gxvmort.c (gxv_mort_coverage_validate): Use `FT_UNUSED'.
cmakelists-updates
Werner Lemberg 6 years ago
parent e8bbef85c0
commit ec439711b1
  1. 7
      ChangeLog
  2. 2
      src/gxvalid/gxvjust.c
  3. 1
      src/gxvalid/gxvmort.c

@ -1,3 +1,10 @@
2018-12-12 Werner Lemberg <wl@gnu.org>
[gxvalid] Fix compiler warnings.
* src/gxvalid/gxvjust.c (gxv_just_check_max_gid),
src/gxvalid/gxvmort.c (gxv_mort_coverage_validate): Use `FT_UNUSED'.
2018-12-11 Werner Lemberg <wl@gnu.org>
* src/truetype/ttgload.c (TT_Hint_Glyph): Remove useless test.

@ -72,6 +72,8 @@
const FT_String* msg_tag,
GXV_Validator gxvalid )
{
FT_UNUSED( msg_tag );
if ( gid < gxvalid->face->num_glyphs )
return;

@ -123,6 +123,7 @@
GXV_Validator gxvalid )
{
FT_UNUSED( gxvalid );
FT_UNUSED( coverage );
#ifdef FT_DEBUG_LEVEL_TRACE
if ( coverage & 0x8000U )

Loading…
Cancel
Save