• Show log

    Commit

  • Hash : 65a44988
    Author : suzuki toshiya
    Date : 2011-06-15T01:44:24

    [base] Fix g++4.6 compiler warnings in src/base/*.c.
    
    Passing uninitialized pointer to the buffer allocator is
    not problematic theoretically (as far as the returned
    pointer is checked before writing), but g++4.6 dislikes
    it and warns by -Wuninitialized.  Initialize them by NULL.
    
    * src/base/ftobjs.c (FT_Stream_New): Init `stream'.
    (new_memory_stream): Ditto.
    (FT_New_GlyphSlot): Init `slot'.
    (FT_CMap_New): Init `cmap'.
    (open_face_PS_from_sfnt_stream): Init `sfnt_ps'.
    (Mac_Read_POST_Resource): Init `pfb_data'.
    (Mac_Read_sfnt_Resource): Init `sfnt_data'.
    * src/base/ftrfork.c (FT_Raccess_Get_DataOffsets):
    Init `offsets_internal' and `ref'.
    (raccess_guess_darwin_hfsplus): Init `newpath'.
    (raccess_guess_darwin_newvfs): Ditto.
    * src/base/ftbitmap.c (ft_bitmap_assure_buffer):
    Init `buffer'.
    * src/base/ftstroke.c (FT_Stroker_New): Init `stroker'.
    

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/freetype.git
    Git SSH git@git.kmx.io:kc3-lang/freetype.git
    Public access ? public
    Description
    Users
    thodg_m kc3_lang_org thodg_w www_kmx_io thodg thodg_l
    Tags