diff options
author | Werner Lemberg <wl@gnu.org> | 2002-02-19 16:30:15 +0000 |
---|---|---|
committer | Werner Lemberg <wl@gnu.org> | 2002-02-19 16:30:15 +0000 |
commit | b5349a9b75b233b4036da594187a9959c3446890 (patch) | |
tree | 8df621d373bee7aac19a1db883b263baddfc8d16 /src/cff | |
parent | a7d2f5e1c0b8e3636a93d9e9e0b1a22457b98faa (diff) | |
download | freetype2-b5349a9b75b233b4036da594187a9959c3446890.tar.gz |
* builds/freetype.mk (FT_CFLAGS): Use $(INCLUDE_FLAGS) first.
* src/cache/ftccache.c (ftc_cache_resize): Mark `error' as unused
to avoid compiler warning.
* src/cff/cffload.c (CFF_Get_String): Ditto.
* src/cff/cffobjs.c (CFF_StrCopy): Ditto.
* src/psaux/psobjs.c (PS_Table_Done): Ditto.
* src/pcf/pcfread.c (pcf_seek_to_table_type): Ditto.
* src/sfnt/sfdriver.c (get_sfnt_postscript_name): Ditto.
(pcf_get_bitmaps): The same for `sizebitmaps'.
* src/psaux/t1decode.c (T1_Decode_Parse_Charstrings): The same for
`orig_y'.
(t1operator_seac): Comment out more dead code.
* src/pshinter/pshalgo2.c (ps2_hints_apply): Add `DEBUG_HINTER'
conditional.
* src/truetype/ttgload.c (TT_Process_Simple_Glyph,
load_truetype_glyph): Add `TT_CONFIG_OPTION_BYTECODE_INTERPRETER'
conditional.
Diffstat (limited to 'src/cff')
-rw-r--r-- | src/cff/cffload.c | 6 | ||||
-rw-r--r-- | src/cff/cffobjs.c | 3 |
2 files changed, 7 insertions, 2 deletions
diff --git a/src/cff/cffload.c b/src/cff/cffload.c index 8d144d03b..155bba4a9 100644 --- a/src/cff/cffload.c +++ b/src/cff/cffload.c @@ -1328,8 +1328,8 @@ if ( adobe_name ) { - FT_Memory memory = index->stream->memory; - FT_Error error; + FT_Memory memory = index->stream->memory; + FT_Error error; len = (FT_UInt)strlen( adobe_name ); @@ -1338,6 +1338,8 @@ MEM_Copy( name, adobe_name, len ); name[len] = 0; } + + FT_UNUSED( error ); } return name; diff --git a/src/cff/cffobjs.c b/src/cff/cffobjs.c index 0211b8e56..a8698397d 100644 --- a/src/cff/cffobjs.c +++ b/src/cff/cffobjs.c @@ -241,6 +241,9 @@ MEM_Copy( result, source, len ); result[len] = 0; } + + FT_UNUSED( error ); + return result; } |