diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2023-02-12 10:51:46 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2023-02-12 10:51:46 -0800 |
commit | 8e0e63519069bed43b3bf1ce1f11fd0cd516d3e4 (patch) | |
tree | c969d5854cd2adf5e4617f6155be6aca66d1ae46 /test/XpmCreate.c | |
parent | 25616112983cd3f8bfe5379771b5bfd63b3c3621 (diff) | |
download | xorg-lib-libXpm-8e0e63519069bed43b3bf1ce1f11fd0cd516d3e4.tar.gz |
parse.c: Wrap FREE_CIDX definition in do { ... } while(0)
Makes it match the definition in create.c and eliminates
clang warnings:
create.c:2409:13: warning: empty expression statement has no effect;
remove unnecessary ';' to silence this warning [-Wextra-semi-stmt]
FREE_CIDX;
^
create.c:2440:17: warning: empty expression statement has no effect;
remove unnecessary ';' to silence this warning [-Wextra-semi-stmt]
FREE_CIDX;
^
create.c:2444:13: warning: empty expression statement has no effect;
remove unnecessary ';' to silence this warning [-Wextra-semi-stmt]
FREE_CIDX;
^
create.c:2449:15: warning: empty expression statement has no effect;
remove unnecessary ';' to silence this warning [-Wextra-semi-stmt]
FREE_CIDX;
^
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'test/XpmCreate.c')
0 files changed, 0 insertions, 0 deletions