From 353dfeafa37da7b189e2ee4a65fd8871d4127da1 Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Tue, 29 Aug 2000 18:58:41 +0000 Subject: [PATCH] More warnings fixed. --- src/truetype/ttgload.c | 3 +++ src/type1z/z1gload.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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 ) {