diff --git a/src/truetype/ttgload.c b/src/truetype/ttgload.c index 8adaf581d..ad5bf3fe7 100644 --- a/src/truetype/ttgload.c +++ b/src/truetype/ttgload.c @@ -216,6 +216,9 @@ FT_Error error; FT_Stream stream = loader->stream; + /* for non-debug mode */ + FT_UNUSED( glyph_index ); + FT_TRACE5(( "Glyph %ld\n", glyph_index )); diff --git a/src/type1z/z1gload.c b/src/type1z/z1gload.c index 0b68c2c87..a12bb1214 100644 --- a/src/type1z/z1gload.c +++ b/src/type1z/z1gload.c @@ -63,7 +63,7 @@ /*************************************************************************/ - static + LOCAL_FUNC_X FT_Error Z1_Parse_Glyph( T1_Decoder* decoder, FT_UInt glyph_index ) {