xwd: Changes to 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sun Nov 20 20:39:19 UTC 2022


 .gitlab-ci.yml |    4 -
 dsimple.c      |    3 -
 list.c         |   25 ++++------
 multiVis.c     |  139 ++++++++++++++++++++++++---------------------------------
 xwd.c          |   26 +++++-----
 5 files changed, 87 insertions(+), 110 deletions(-)

New commits:
commit e9e78bf8f2de870fbf90cc247721df16805ba3da
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sun Nov 13 15:07:14 2022 -0800

    list.c: Stop building functions that are never called
    
    This general-purpose list implementation includes functions xwd
    doesn't use, so we don't need to build those here.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit 7d59a57f67f1c0be40b7e2ff0323026824b1f403
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sun Nov 13 15:05:15 2022 -0800

    Delete commented-out local copy of list function prototypes
    
    Duplicated list.h header contents
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit 0501a64d58ae6c1e9287188de120efbdd6aadd2d
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sun Nov 13 15:02:11 2022 -0800

    Variable scope reduction as recommended by cppcheck
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit 9bf3f50c2a287a1d455df3e36e751604d7d50381
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sun Nov 13 14:33:08 2022 -0800

    Remove unnecessary casts from malloc() and free() calls
    
    Not needed in C89 & later
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit fd5e1e9ee9ed359e0ad0dddfbaa4d9c84dcb1810
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sun Nov 13 14:27:25 2022 -0800

    Handle -Wcomma warnings from clang
    
    xwd.c:332:22: warning: possible misuse of comma operator here [-Wcomma]
            width += absx, absx = 0;
                         ^
    xwd.c:334:23: warning: possible misuse of comma operator here [-Wcomma]
            height += absy, absy = 0;
                          ^
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit c0601f552aa34af005270f3a65ec0e92421497cb
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sun Nov 13 14:23:28 2022 -0800

    Remove unused macros
    
    Found by clang:
     multiVis.c:977:9: warning: macro is not used [-Wunused-macros]
     #define DIRECT_COLOR    0x11
             ^
     multiVis.c:976:9: warning: macro is not used [-Wunused-macros]
     #define TRUE_COLOR      0x10
             ^
     multiVis.c:975:9: warning: macro is not used [-Wunused-macros]
     #define PSEUDO_COLOR    0x04
             ^
     multiVis.c:974:9: warning: macro is not used [-Wunused-macros]
     #define GRAY_SCALE      0x02
             ^
     multiVis.c:973:9: warning: macro is not used [-Wunused-macros]
     #define STATIC_GRAY     0x01
             ^
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit da73a432704776e7e78097fb0c93d81e90bc7859
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Thu Jul 28 17:30:21 2022 -0700

    gitlab CI: stop requiring Signed-off-by in commits
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>



More information about the xorg-commit mailing list