xorg-libx11/src/xlibi18n
Alan Coopersmith 1ef3c6f010 XIM_SET_PAD: add do ... while (0) to avoid -Wextra-semi-stmt warnings
Clears 8 warnings from clang of the form:

imDefIc.c:366:29: warning: empty expression statement has no effect;
 remove unnecessary ';' to silence this warning [-Wextra-semi-stmt]
        XIM_SET_PAD(&buf_s[2], len);            /* pad */
                                   ^

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/272>
2024-11-10 16:04:08 -08:00
..
lcUniConv reduce gcc-normal warnings using casts (no object change) 2020-04-21 20:56:05 -04:00
ICWrap.c reduce gcc-normal warnings using casts (no object change) 2020-04-21 20:56:05 -04:00
imKStoUCS.c Fix out-of-bound access in KeySymToUcs4() 2021-05-09 11:30:09 +05:30
IMWrap.c Remove unnecessary casts of pointers to (char *) in calls to Xfree() 2013-08-20 12:51:09 -07:00
lcCharSet.c Fix spelling/wording issues 2020-07-22 15:19:58 -07:00
lcConv.c Make conv_list thread safe. 2020-11-09 08:47:35 -08:00
lcCT.c lcCT: use the correct index for checking the second byte 2022-04-20 10:23:51 +02:00
lcDB.c unifdef __UNIXOS2__ 2024-02-11 14:56:22 -08:00
lcDynamic.c xlibi18n: convert sprintf calls to snprintf 2013-08-20 12:50:40 -07:00
lcFile.c xlibi18n/lcFile.c: avoid use of possibly-NULL pointer with strcpy 2024-07-13 10:14:02 -07:00
lcGeneric.c Don't leave dangling pointers in Free functions 2020-11-18 14:27:59 -08:00
lcInit.c Copyright & license cleanup 2022-11-03 20:31:31 +00:00
lcPrTxt.c reduce gcc-normal warnings using casts (no object change) 2020-04-21 20:56:05 -04:00
lcPublic.c Fix leaking modifiers string. 2020-09-21 19:37:33 +00:00
lcPubWrap.c lcPubWrap: replace malloc(strlen) + strcpy with strdup 2016-01-05 17:24:26 -08:00
lcRM.c Remove unnecessary casts of pointers to (char *) in calls to Xfree() 2013-08-20 12:51:09 -07:00
lcStd.c Don't cache converters in _Xlcmbtowc and Xlcwctomb 2020-11-09 08:47:35 -08:00
lcTxtPr.c reduce gcc-normal warnings using casts (no object change) 2020-04-21 20:56:05 -04:00
lcUTF8.c lcUTF8: remove two unneeded ifs and two elses that are never reached 2022-01-12 22:54:12 +00:00
lcUtil.c set_toupper: add do { ... } while (0) to avoid -Wextra-semi-stmt warnings 2024-11-10 11:06:28 -08:00
lcWrap.c _XlcDefaultMapModifiers: remove conversions between size_t & int 2024-09-29 10:04:04 -07:00
Makefile.am Drop X_LOCALE fallback for OS'es without setlocale() 2013-11-22 22:02:17 -08:00
mbWMProps.c Remove unnecessary casts of pointers to (char *) in calls to Xfree() 2013-08-20 12:51:09 -07:00
mbWrap.c xlibi18n: Fix a bunch of const cast warnings 2013-08-20 12:51:09 -07:00
utf8WMProps.c Remove unnecessary casts of pointers to (char *) in calls to Xfree() 2013-08-20 12:51:09 -07:00
utf8Wrap.c xlibi18n: Fix a bunch of const cast warnings 2013-08-20 12:51:09 -07:00
wcWrap.c Purge CVS/RCS id tags 2010-01-14 17:38:26 -08:00
Xaixlcint.h Purge CVS/RCS id tags 2010-01-14 17:38:26 -08:00
XDefaultIMIF.c Copyright & license cleanup 2022-11-03 20:31:31 +00:00
XDefaultOMIF.c CI_GET_*_INFO_*: add do ... while (0) to avoid -Wextra-semi-stmt warnings 2024-11-10 15:23:52 -08:00
xim_trans.c nuke RCS Ids 2008-03-09 09:08:07 +01:00
XimImSw.h Purge CVS/RCS id tags 2010-01-14 17:38:26 -08:00
Ximint.h XIM: remove Private and Public macros 2012-10-29 18:43:35 -05:00
XimintL.h Purge CVS/RCS id tags 2010-01-14 17:38:26 -08:00
XimintP.h ximcp: hide internal functions 2024-11-04 17:24:11 +00:00
XimProto.h XIM_SET_PAD: add do ... while (0) to avoid -Wextra-semi-stmt warnings 2024-11-10 16:04:08 -08:00
XimThai.h Purge CVS/RCS id tags 2010-01-14 17:38:26 -08:00
XimTrans.h Copyright & license cleanup 2022-11-03 20:31:31 +00:00
XimTrInt.h Copyright & license cleanup 2022-11-03 20:31:31 +00:00
XimTrX.h Copyright & license cleanup 2022-11-03 20:31:31 +00:00
XlcDL.c unifdef hpux 2024-02-20 17:05:42 -08:00
XlcGeneric.h Purge CVS/RCS id tags 2010-01-14 17:38:26 -08:00
Xlcint.h Fix spelling/wording issues 2020-07-22 15:19:58 -07:00
XlcPubI.h Drop X_LOCALE fallback for OS'es without setlocale() 2013-11-22 22:02:17 -08:00
XlcPublic.h Fix spelling/wording issues 2020-07-22 15:19:58 -07:00
XlcSL.c Copyright & license cleanup 2022-11-03 20:31:31 +00:00