diff options
author | Werner Lemberg <wl@gnu.org> | 2012-08-27 11:23:41 +0200 |
---|---|---|
committer | Werner Lemberg <wl@gnu.org> | 2012-08-27 11:23:41 +0200 |
commit | 328aa3b203fc061c207fb01e9cbabea7cb3c9272 (patch) | |
tree | 6aa816f039eab96855501da8d52fc6bd2da48a43 /src/autofit/afpic.c | |
parent | 06e31e9b5e210a498067d392f27c81aa0199b4bf (diff) | |
download | freetype2-328aa3b203fc061c207fb01e9cbabea7cb3c9272.tar.gz |
[FT_CONFIG_OPTION_PIC] Fix g++ 4.6.2 compiler warnings.
* include/freetype/internal/ftdriver.h (FT_DEFINE_DRIVER),
include/freetype/internal/ftobjs.h (FT_DEFINE_RENDERER,
FT_DEFINE_MODULE), include/freetype/internal/ftserv.h
(FT_DEFINE_SERVICEDESCREC1, FT_DEFINE_SERVICEDESCREC2,
FT_DEFINE_SERVICEDESCREC3, FT_DEFINE_SERVICEDESCREC4,
FT_DEFINE_SERVICEDESCREC5, FT_DEFINE_SERVICEDESCREC6),
src/autofit/afpic.c (autofit_module_class_pic_init),
src/base/basepic.c (ft_base_pic_init), src/base/ftinit.c
(ft_create_default_module_classes), src/cff/cffparse.c
(FT_Create_Class_cff_field_handlers), src/cff/cffpic.c
(cff_driver_class_pic_init), src/pshinter/pshpic.c
(pshinter_module_class_pic_init), src/psnames/pspic.c
(psnames_module_class_pic_init), src/raster/rastpic.c
(ft_raster1_renderer_class_pic_init), src/sfnt/sfntpic.c
(sfnt_module_class_pic_init), src/sfnt/ttcmap.c
(FT_Create_Class_tt_cmap_classes), src/smooth/ftspic.c
(ft_smooth_renderer_class_pic_init), src/truetype/ttpic.c
(tt_driver_class_pic_init): Initialize allocation variable.
Diffstat (limited to 'src/autofit/afpic.c')
-rw-r--r-- | src/autofit/afpic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/autofit/afpic.c b/src/autofit/afpic.c index a395faead..36a9cca99 100644 --- a/src/autofit/afpic.c +++ b/src/autofit/afpic.c @@ -61,7 +61,7 @@ FT_PIC_Container* pic_container = &library->pic_container; FT_UInt ss; FT_Error error = AF_Err_Ok; - AFModulePIC* container; + AFModulePIC* container = NULL; FT_Memory memory = library->memory; |