xcalc: Changes to 'master'
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Sat Nov 16 21:07:29 UTC 2024
actions.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit dee16e7a2b42c51fb490b42f8bdce61afffa5201
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Mon Nov 11 12:11:18 2024 -0800
actions.c: handle 61 -Wextra-semi-stmt warnings from clang
Wrap XCALC_PRE_OP macro definition in do {...} while (0) to
clear up warnings from clang 13 of the form:
actions.c:161:23: warning: empty expression statement has no effect;
remove unnecessary ';' to silence this warning [-Wextra-semi-stmt]
XCALC_PRE_OP(kADD);
^
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/app/xcalc/-/merge_requests/14>
More information about the xorg-commit
mailing list