libXau: Changes to 'master'
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Aug 30 23:17:57 UTC 2024
AuDispose.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
New commits:
commit 6b2e9a63d8306282a2b384762bea004c19f301a1
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Mon Aug 26 10:22:33 2024 -0700
XauDisposeAuth: remove void casts from functions that return void
We rely on having included headers with proper prototypes to know
that these functions are declared to return void instead of adding
casts to paper over missing prototypes.
Clears warnings from gcc 14.1:
AuDispose.c: In function ‘XauDisposeAuth’:
AuDispose.c:42:13: warning: useless cast to type ‘void’ [-Wuseless-cast]
42 | (void) explicit_bzero (auth->data, auth->data_length);
| ^
AuDispose.c:48:13: warning: useless cast to type ‘void’ [-Wuseless-cast]
48 | (void) free (auth->data);
| ^
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxau/-/merge_requests/18>
More information about the xorg-commit
mailing list