xman: Changes to 'master'
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Sat Nov 16 20:46:13 UTC 2024
ScrollByL.c | 4 ++--
globals.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 55742ee26d6001097ec4ea8f369250215beb229b
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sun Nov 10 14:52:54 2024 -0800
globals.c: include globals.h to validate global var declarations
Clears up 9 warnings from clang 13 of the form:
globals.c:34:16: warning: no previous extern declaration for non-static
variable 'resources' [-Wmissing-variable-declarations]
Xman_Resources resources; /* Resource manager sets these. */
^
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/app/xman/-/merge_requests/13>
commit 0b9c0acd1c871eaf301ad1119493043ef632a996
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sun Nov 10 14:48:20 2024 -0800
ScrollByL: move from XtOffset to XtOffsetOf
Clears 13 warnings from clang 13 of the form:
ScrollByL.c:67:6: warning: performing pointer subtraction with a null
pointer has undefined behavior [-Wnull-pointer-subtraction]
CoreOffset(width), XtRImmediate, (caddr_t) 500},
^~~~~~~~~~~~~~~~~
ScrollByL.c:63:27: note: expanded from macro 'CoreOffset'
#define CoreOffset(field) XtOffset(ScrollByLineWidget, core.field)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/app/xman/-/merge_requests/13>
More information about the xorg-commit
mailing list