xset: Changes to 'master'

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


 .gitlab-ci.yml |    4 -
 xset.c         |  177 ++++++++++++++++++++++++++-------------------------------
 2 files changed, 84 insertions(+), 97 deletions(-)

New commits:
commit b19609386121ab113c4c71e930e71dc17508c25b
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sun Nov 13 12:26:16 2022 -0800

    Use C99 designated struct initializers
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit c59a8dad290489d79f82ab183dbc31b279866161
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sun Nov 13 11:57:50 2022 -0800

    set_pixels: Mark pixels parameter as const
    
    As suggested by cppcheck:
    xset.c:1145:41: style: Parameter 'pixels' can be declared with const [constParameter]
    set_pixels(Display *dpy, unsigned long *pixels, caddr_t * colors,
                                            ^
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit 7545e0ed63cb03e5a6065a9823710d02f560692c
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sun Nov 13 11:56:17 2022 -0800

    Remove unnecessary check for NULL pointer before calling free()
    
    Resolves cppcheck warning:
    xset.c:996:9: style: Condition 'directoryList' is always true [knownConditionTrueFalse]
        if (directoryList)
            ^
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit a6059bdf3d3baea176c9a69ffd5b39a22b4af902
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sun Nov 13 11:54:30 2022 -0800

    Remove unnecessary casts
    
    These were needed for pre-C89 systems that took char * arguments
    instead of void * arguments, but aren't needed for C89 & later.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit 6baf8e4fa706b8fffc121d535bac398723118415
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sun Nov 13 11:50:26 2022 -0800

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

commit 777af080a6c48261d4fe8fc443cb57c52b9a0814
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