libX11: Changes to 'master'
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Sat Nov 16 20:51:58 UTC 2024
include/X11/Xlibint.h | 31 ++++++++++++++++---------------
modules/om/generic/omDefault.c | 4 ++--
modules/om/generic/omTextPer.c | 8 ++++----
src/CrGlCur.c | 4 ++--
src/ParseCmd.c | 4 ++--
src/RdBitF.c | 2 +-
src/TextExt.c | 4 ++--
src/Xrm.c | 4 ++--
src/poly.h | 16 ++++++++--------
src/utlist.h | 4 ++--
src/xcb_io.c | 12 ++++++------
src/xkb/XKBlibint.h | 4 ++--
src/xlibi18n/XDefaultOMIF.c | 4 ++--
src/xlibi18n/XimProto.h | 4 ++--
src/xlibi18n/lcUtil.c | 5 +++--
15 files changed, 56 insertions(+), 54 deletions(-)
New commits:
commit 1ef3c6f010c03eade038b4e662c0eef47014800d
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sun Nov 10 15:38:25 2024 -0800
XIM_SET_PAD: add do ... while (0) to avoid -Wextra-semi-stmt warnings
Clears 8 warnings from clang of the form:
imDefIc.c:366:29: warning: empty expression statement has no effect;
remove unnecessary ';' to silence this warning [-Wextra-semi-stmt]
XIM_SET_PAD(&buf_s[2], len); /* pad */
^
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/272>
commit 22ded6890e9d11cc9eca59737fc531d40ec284a6
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sun Nov 10 15:30:48 2024 -0800
Xrm.c: remove unneccessary ; after {}
Clears 2 clang warnings:
Xrm.c:1186:51: warning: empty expression statement has no effect;
remove unnecessary ';' to silence this warning [-Wextra-semi-stmt]
while (is_space(bits = next_char(c, str))) {};
^
Xrm.c:1191:48: warning: empty expression statement has no effect;
remove unnecessary ';' to silence this warning [-Wextra-semi-stmt]
while (is_space(bits = next_char(c, str))) {};
^
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/272>
commit b7f59114abb4a4766d7fd5805d0435d023cd0c4b
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sun Nov 10 15:29:21 2024 -0800
DL_APPEND/DL_DELETE: remove trailing semicolon from definitions
Clears 2 clang warnings:
XlibInt.c:672:26: warning: empty expression statement has no effect;
remove unnecessary ';' to silence this warning [-Wextra-semi-stmt]
DL_APPEND(*head, add);
^
XlibInt.c:694:36: warning: empty expression statement has no effect;
remove unnecessary ';' to silence this warning [-Wextra-semi-stmt]
DL_DELETE(*head, event);
^
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/272>
commit da431b8f7ff21d36b5a88237c991ca43b185d65f
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sun Nov 10 15:25:40 2024 -0800
xcb_io.c: add do ... while (0) to avoid -Wextra-semi-stmt warnings
Clears 10 warnings from clang of the form:
xcb_io.c:177:56: warning: empty expression statement has no effect;
remove unnecessary ';' to silence this warning [-Wextra-semi-stmt]
xcb_xlib_unknown_req_in_deq);
^
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/272>
commit a53c45d69e88799e59dfbd324843df65a30cf4a9
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sun Nov 10 13:16:41 2024 -0800
CI_GET_*_INFO_*: add do ... while (0) to avoid -Wextra-semi-stmt warnings
Clears 24 warnings from clang of the form:
TextExt16.c:63:34: warning: empty expression statement has no effect;
remove unnecessary ';' to silence this warning [-Wextra-semi-stmt]
CI_GET_DEFAULT_INFO_1D (fs, def);
^
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/272>
commit 68912288218527846b04cbe8d647a2c252e82e20
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sun Nov 10 13:11:12 2024 -0800
RETURN: add do ... while (0) to avoid -Wextra-semi-stmt warnings
Clears 5 warnings from clang of the form:
RdBitF.c:141:32: warning: empty expression statement has no effect;
remove unnecessary ';' to silence this warning [-Wextra-semi-stmt]
RETURN (BitmapFileInvalid);
^
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/272>
commit 38c642c8ebd69f761fdda03664eba6889a331598
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sun Nov 10 13:08:31 2024 -0800
poly.h: add do ... while (0) to avoid -Wextra-semi-stmt warnings
Clears 3 warnings from clang of the form:
PolyReg.c:224:67: warning: empty expression statement has no effect;
remove unnecessary ';' to silence this warning [-Wextra-semi-stmt]
BRESINITPGONSTRUCT(dy, top->x, bottom->x, pETEs->bres);
^
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/272>
commit 906bf4a86d174ed20fda925d8f82de023aa26d2d
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sun Nov 10 12:37:53 2024 -0800
PutCommandResource: add do ... while (0) to avoid -Wextra-semi-stmt warnings
Clears 4 warnings from clang of the form:
ParseCmd.c:158:43: warning: empty expression statement has no effect;
remove unnecessary ';' to silence this warning [-Wextra-semi-stmt]
PutCommandResource(options[i].value);
^
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/272>
commit c0768ab687fa07f83d0030dd161f4aa49cbe84f8
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sun Nov 10 12:35:44 2024 -0800
GetFunc: add do ... while (0) to avoid -Wextra-semi-stmt warnings
Clears 4 warnings from clang of the form:
CrGlCur.c:140:64: warning: empty expression statement has no effect;
remove unnecessary ';' to silence this warning [-Wextra-semi-stmt]
GetFunc (TryShapeCursorFunc, "XcursorTryShapeCursor", func);
^
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/272>
commit 49350501687d9633a86ae317d5311228e7d812e8
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sun Nov 10 12:33:01 2024 -0800
_XCreateMutex/_XFreeMutex: remove trailing semicolon from definitions
Makes them match the style of the other macros here and clears
up 5 clang warnings of the form:
Context.c:194:27: warning: empty expression statement has no effect;
remove unnecessary ';' to silence this warning [-Wextra-semi-stmt]
_XCreateMutex(&db->linfo);
^
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/272>
commit 41c4aa408c3488e920e1f08eb946442faa051e6c
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sun Nov 10 11:52:19 2024 -0800
OneDataCard32: add do ... while (0) to avoid -Wextra-semi-stmt warnings
Clears 13 warnings from clang of the form:
Backgnd.c:44:72: warning: empty expression statement has no effect;
remove unnecessary ';' to silence this warning [-Wextra-semi-stmt]
OneDataCard32 (dpy, NEXTPTR(req,xChangeWindowAttributesReq), pixel);
^
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/272>
commit 68e6caad8fcad28143769384536d4529fe0161c4
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sun Nov 10 11:48:41 2024 -0800
_XkbCheckPendingRefresh: add do ... while (0) to avoid -Wextra-semi-stmt
Clears 6 warnings from clang of the form:
XKBBind.c:74:48: warning: empty expression statement has no effect;
remove unnecessary ';' to silence this warning [-Wextra-semi-stmt]
_XkbCheckPendingRefresh(dpy, dpy->xkb_info);
^
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/272>
commit 563ddd4ff5575e3f8bbf635cbdc339b09a7e285e
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sun Nov 10 11:09:56 2024 -0800
BufAlloc: add do { ... } while (0) to avoid -Wextra-semi-stmt warnings
Clears 46 warnings from clang of the form:
XKB.c:207:69: warning: empty expression statement has no effect;
remove unnecessary ';' to silence this warning [-Wextra-semi-stmt]
BufAlloc(char *, out, (((size * 2) + (unsigned) 3) / 4) * 4);
^
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/272>
commit 5e22c4b3d56d8327d8610faabc8ecfc0c45399de
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sun Nov 10 11:06:28 2024 -0800
set_toupper: add do { ... } while (0) to avoid -Wextra-semi-stmt warnings
Clears 4 warnings from clang of the form:
lcUtil.c:53:18: warning: empty expression statement has no effect;
remove unnecessary ';' to silence this warning [-Wextra-semi-stmt]
set_toupper(ch1);
^
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/272>
commit 4cb567d9a05b4a995a50e2fe178c2e697d339668
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sun Nov 10 10:27:39 2024 -0800
Data: add do ... while (0) to avoid -Wextra-semi-stmt warnings
Clears 38 warnings from clang of the form:
cmsLkCol.c:155:35: warning: empty expression statement has no effect;
remove unnecessary ';' to silence this warning [-Wextra-semi-stmt]
Data (dpy, colorname, (long)n);
^
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/272>
commit 9ab8f6a5f73cbe0675d1555504f6ec269c9dde8d
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sun Nov 10 10:14:49 2024 -0800
DeqAsyncHandler: add do ... while (0) to avoid -Wextra-semi-stmt warnings
Clears 12 warnings from clang of the form:
cmsCmap.c:194:34: warning: empty expression statement has no effect;
remove unnecessary ';' to silence this warning [-Wextra-semi-stmt]
DeqAsyncHandler(dpy, &async);
^
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/272>
More information about the xorg-commit
mailing list