• Show log

    Commit

  • Hash : c2fa51d9
    Author : Werner Lemberg
    Date : 2021-07-24T20:32:16

    Fix some `cppcheck` warnings.
    
    * src/bzip2/ftbzip2.c (ft_bzip2_file_skip_output), src/gzip/ftgzip.c
    (ft_gzip_file_skip_output): Reduce scope of `delta`.
    
    * src/psaux/psintrp.c, src/psaux/psintrp.h (cf2_interpT2CharString): Add
    `const` to `buf` parameter.
    
    * src/raster/ftraster.c (DelOld): Add `const` to `profile` parameter.
    (Vertical_Sweep_Span): Reduce scope of `target`.
    (FT_Outline_Get_CBox): Reduce scope of `xMin`, `xMax`, `yMin`, `yMax`.
    
    * src/smooth/ftgrays.c (gray_render_conic): Reduce scope of `split`.
    (gray_sweep, gray_sweep_direct): Reduce scope of `area`.
    
    * src/tools/apinames.c (names_dump) <OUTPUT_WATCOM_LBC>: Reduce scope of
    `temp`.