diff options
author | suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> | 2011-06-15 02:48:33 +0900 |
---|---|---|
committer | suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp> | 2011-06-15 02:48:33 +0900 |
commit | e62c876bb0b86b8fa88fadf72d2621c79796a304 (patch) | |
tree | 9152ac75cd6d77f344d1a9642951c916fe7a2d2c /src/cache/ftcmru.c | |
parent | dc185ee2c26f389e45000dd42fce1f8a7062d743 (diff) | |
download | freetype2-e62c876bb0b86b8fa88fadf72d2621c79796a304.tar.gz |
Fix g++4.6 compiler warnings in module drivers.
The background is same with previous commit.
* src/truetype/ttgxvar.c (ft_var_readpackedpoints):
Init `points'. (TT_Vary_Get_Glyph_Deltas): Init
`delta_xy'. (TT_Get_MM_Var): Init `mmvar'.
* src/type1/t1load.c (T1_Get_MM_Var): Ditto.
* src/cff/cffdrivr.c (cff_ps_get_font_info): Init
`font_info'.
* src/cff/cffload.c (cff_index_get_pointers): Init `t'.
(cff_font_load): Init `sub'.
* src/cff/cffobjs.c (cff_size_init): Init `internal'.
(cff_face_init): Init `cff'.
* src/pfr/pfrload.c (pfr_extra_item_load_stem_snaps):
Init `snaps'.
* src/pcf/pcfread.c (pcf_get_properties): Init `properties'.
(pcf_get_bitmaps): Init `offsets'. (pcf_get_encodings):
Init `tmpEncoding'.
* src/sfnt/ttload.c (tt_face_load_gasp): Init `gaspranges'.
* src/sfnt/ttsbit.c (Load_SBit_Image): Init `components'.
* src/cache/ftcmru.c (FTC_MruList_New): Init `node'.
* src/gzip/ftgzip.c (FT_Stream_OpenGzip): Init `zip' and
`zip_buff'.
* src/lzw/ftlzw.c (FT_Stream_OpenLZW): Init `zip'.
* src/bzip2/ftbzip2.c (FT_Stream_OpenBzip2): Init `zip'.
Diffstat (limited to 'src/cache/ftcmru.c')
-rw-r--r-- | src/cache/ftcmru.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cache/ftcmru.c b/src/cache/ftcmru.c index 9944b5898..5b1134652 100644 --- a/src/cache/ftcmru.c +++ b/src/cache/ftcmru.c @@ -238,7 +238,7 @@ FTC_MruNode *anode ) { FT_Error error; - FTC_MruNode node; + FTC_MruNode node = NULL; FT_Memory memory = list->memory; |