libICE: Changes to 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Nov 22 01:00:23 UTC 2024


 src/ICElibint.h |   48 ++++++++++++++++++++++++------------------------
 src/process.c   |    2 +-
 2 files changed, 25 insertions(+), 25 deletions(-)

New commits:
commit 6cea89b54964e756bc3fdebf3da42db2711785c7
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sat Nov 16 16:40:31 2024 -0800

    ProcessAuthReply: Handle -Wconditional-uninitialized warning
    
    Clears warning from clang 13:
    
    process.c:1612:21: warning: variable 'authDataLen' may be uninitialized
     when used here [-Wconditional-uninitialized]
        if (authData && authDataLen > 0)
                        ^~~~~~~~~~~
    process.c:1344:22: note: initialize the variable 'authDataLen' to
     silence this warning
        int                 authDataLen;
                                       ^
                                        = 0
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Part-of: <https://gitlab.freedesktop.org/xorg/lib/libice/-/merge_requests/23>

commit 4f7f5b10fa5e328a6bfa83a0411cb6b8bf44b49d
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sat Nov 16 16:17:12 2024 -0800

    ICElibint.h: add do ... while (0) around macro definitions
    
    Clears 71 warnings from clang 13 of the form:
    
    connect.c:351:39: warning: empty expression statement has no effect;
     remove unnecessary ';' to silence this warning [-Wextra-semi-stmt]
            STORE_STRING (pData, IceVendorString);
                                                 ^
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Part-of: <https://gitlab.freedesktop.org/xorg/lib/libice/-/merge_requests/23>



More information about the xorg-commit mailing list