xlsatoms: Changes to 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Oct 28 01:30:37 UTC 2022


 .gitlab-ci.yml |    4 ++--
 xlsatoms.c     |   25 +++++++++++++++++--------
 2 files changed, 19 insertions(+), 10 deletions(-)

New commits:
commit ab1dce3cee49f0c497b158a2a2dd3412d531e154
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sat Oct 22 13:09:18 2022 -0700

    usage: add cold & noreturn attributes to function
    
    As suggested by clang:
    xlsatoms.c:56:1: warning: function 'usage' could be declared with
     attribute 'noreturn' [-Wmissing-noreturn]
    {
    ^
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit 41975db12f73a6f23d111c3e31b4f3a14ea88b68
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sat Oct 22 13:03:14 2022 -0700

    Resolve clang -Wshorten-64-to-32 warnings
    
    xlsatoms.c:175:13: warning: implicit conversion loses integer precision:
      'long long' to 'xcb_atom_t' (aka 'unsigned int') [-Wshorten-64-to-32]
        *atom = value;
              ~ ^~~~~
    
    xlsatoms.c:244:37: warning: implicit conversion loses integer precision:
      'long' to 'xcb_atom_t' (aka 'unsigned int') [-Wshorten-64-to-32]
            cookie[i] = xcb_get_atom_name(c, i + low);
                        ~~~~~~~~~~~~~~~~~    ~~^~~~~
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit 4265e8b5e6d363b5bef1fb217012eb4aee65a0cd
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sat Oct 22 12:38:30 2022 -0700

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

commit fd33460f430cf043e9610847974b9b3892d57595
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