viewres: Changes to 'master'
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Dec 13 01:22:52 UTC 2024
configure.ac | 2 +-
viewres.c | 50 +++++++++++++++++++++++++++-----------------------
2 files changed, 28 insertions(+), 24 deletions(-)
New commits:
commit 0a46aaef59f23cf5215ea904be45c4c90a992b13
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sun Dec 8 13:08:50 2024 -0800
Use intptr_t instead of long for casting between pointers and integers
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/app/viewres/-/merge_requests/7>
commit eaa66119167744aa651aa510c39eb2f5508c9a45
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sun Dec 8 13:05:38 2024 -0800
Add unused attribute to unused callback arguments
Clears up 18 warnings from clang of the form:
viewres.c:447:36: warning: unused parameter 'gw' [-Wunused-parameter]
variable_labeltype_callback(Widget gw,
^
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/app/viewres/-/merge_requests/7>
commit 04e6897d7566fbef810d3d33d17d61c4895da356
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sun Dec 8 12:50:04 2024 -0800
Declare usage() as noreturn
Clears clang warning:
viewres.c:239:1: warning: function 'usage' 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/viewres/-/merge_requests/7>
More information about the xorg-commit
mailing list