xlogo: Changes to 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Aug 13 17:19:41 UTC 2024


 Logo.c        |   45 ++++++++++++++++++++++++++-------------------
 configure.ac  |    2 +-
 man/xlogo.man |    6 ++++++
 xlogo.c       |   20 ++++++++++++--------
 4 files changed, 45 insertions(+), 28 deletions(-)

New commits:
commit 48cacfa7eb128a0a44c7db3f8a0345dafb562786
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sun Aug 4 11:45:15 2024 -0700

    Add -help and -version to man page and usage output
    
    Fixes: d5410a7 ("Add -help and -version options")
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Part-of: <https://gitlab.freedesktop.org/xorg/app/xlogo/-/merge_requests/6>

commit f9d404920f085a3966037483a7e2760a728fad5f
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sun Aug 4 11:34:19 2024 -0700

    Handle -Wsign-compare warning in Syntax()
    
    xlogo.c:159:14: warning: comparison of integer expressions of different
     signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
      159 |     assert(n <= XtNumber(reasons));
          |              ^~
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Part-of: <https://gitlab.freedesktop.org/xorg/app/xlogo/-/merge_requests/6>

commit cc1c058a788690720c4618d534a2490af10f1931
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sun Aug 4 11:30:25 2024 -0700

    Use struct initializers
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Part-of: <https://gitlab.freedesktop.org/xorg/app/xlogo/-/merge_requests/6>

commit 79a125950a0cbbc7f4fd8aeca395121d649bee02
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sun Aug 4 11:02:58 2024 -0700

    Fix -Wextra-semi-stmt from donestr() macro
    
    Logo.c:346:46: warning: empty expression statement has no effect;
     remove unnecessary ';' to silence this warning [-Wextra-semi-stmt]
        donestr (XftColor, xftColor, XtRXftColor);
                                                 ^
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Part-of: <https://gitlab.freedesktop.org/xorg/app/xlogo/-/merge_requests/6>

commit 7a6efff5e88a4c7100b01af152fbd96805959d29
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sun Aug 4 11:01:33 2024 -0700

    Clear up 17 -Wunused-parameter warnings from clang 13
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Part-of: <https://gitlab.freedesktop.org/xorg/app/xlogo/-/merge_requests/6>

commit f99641cc2fd30cd0ec639f26bc59808b0351389f
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sun Aug 4 10:05:01 2024 -0700

    Mark Syntax() with noreturn attribute
    
    Suggested by clang:
    xlogo.c:139:1: warning: function 'Syntax' could be declared with attribute
     'noreturn' [-Wmissing-noreturn]
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Part-of: <https://gitlab.freedesktop.org/xorg/app/xlogo/-/merge_requests/6>



More information about the xorg-commit mailing list