fslsfonts: Changes to 'master'

Alan Coopersmith alanc at kemper.freedesktop.org
Sat Jul 5 12:55:12 PDT 2014


 fslsfonts.c |   40 ++++++++++++++++++++++------------------
 1 file changed, 22 insertions(+), 18 deletions(-)

New commits:
commit 08ba596c3c21c9a43e02ec257a37ef6152cbd3d3
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sat Jul 5 12:47:04 2014 -0700

    Delete unreachable code after usage() calls
    
    Warned about by both Solaris Studio cc:
    "fslsfonts.c", line 148: warning: statement not reached
    "fslsfonts.c", line 204: warning: statement not reached
    
    and clang:
    fslsfonts.c:204:7: warning: will never be executed [-Wunreachable-code]
                        break;
                        ^~~~~
    fslsfonts.c:148:11: warning: will never be executed [-Wunreachable-code]
                exit(0);
                     ^
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit 7cb653d8699d6a774b340384603abc47a41b8295
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sat Jul 5 12:41:47 2014 -0700

    Fix a bunch of size/sign conversion warnings from clang
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit e254f9e0ec8953ce02043642021a7307512c57be
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sat Jul 5 12:04:11 2014 -0700

    Remove unnecessary casts on malloc/realloc return values
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit 44a450461b6361d691c360438af21fa3be21c408
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sat Jul 5 11:57:17 2014 -0700

    Abort on malloc/realloc failure
    
    cppcheck still warns about our use of realloc, but it's harmless:
    [fslsfonts.c:268]: (error) Common realloc mistake: 'font_list' nulled
     but not freed upon failure
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>



More information about the xorg-commit mailing list