xrandr: Changes to 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Nov 3 23:58:38 UTC 2022


 .gitlab-ci.yml |    4 
 xrandr.c       |  291 +++++++++++++++++++--------------------------------------
 2 files changed, 103 insertions(+), 192 deletions(-)

New commits:
commit 213e10f1996b08305df55c237c90152227e0c5f7
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Fri Oct 28 18:29:04 2022 -0700

    Constify array argument to find_last_non_clamped()
    
    Suggested by cppcheck:
    
    xrandr.c:1046:30: style: Parameter 'array' can be declared with const [constParameter]
    find_last_non_clamped(CARD16 array[], int size)
                                 ^
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit fc331d39447412320e856f56bab88613264cd8f5
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Fri Oct 28 18:25:19 2022 -0700

    Remove unused definition of rectangle_t
    
    Was added in commit 854a7c2916455fec5e but never used.
    Reported by cppcheck unusedStructMember warning.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit e8c4a2727196c8f9bf76df30c5c0a8671e0e5dfe
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Fri Oct 28 18:22:11 2022 -0700

    Remove unused macros left over from original RandR 1.2 code
    
    Use of these was removed in commit cb017692883daf64 in 2006.
    Reported by clang -Wunused-macros
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit 3613fea4472741d8423c38a82e5569739d53bbb7
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Fri Oct 28 18:09:58 2022 -0700

    Fix a -Wsign-compare warning
    
    xrandr.c: In function ‘main’:
    xrandr.c:2780:24: warning: comparison between signed and unsigned integer
      expressions [-Wsign-compare]
          for (int t = 0; t < sizeof(filter_names) / sizeof(filter_names[0]); t++)
                            ^
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit 289722fc8f2c9916a9631c7e4c796269b99b98f8
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Fri Oct 28 18:07:20 2022 -0700

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

commit 8231beec67ee274d10b5d4c5b910d673dc6d1cc8
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