[PATCH:libX11] Get rid of some extraneous ; at the end of C source lines
Thomas Klausner
wiz at NetBSD.org
Mon Sep 28 15:26:57 PDT 2015
Reviewed-by: Thomas Klausner <wiz at NetBSD.org>
On Sun, Sep 27, 2015 at 06:38:32PM -0700, Alan Coopersmith wrote:
> Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
> ---
> modules/im/ximcp/imExten.c | 2 +-
> src/xkb/XKBNames.c | 2 +-
> src/xlibi18n/lcPrTxt.c | 2 +-
> 3 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/modules/im/ximcp/imExten.c b/modules/im/ximcp/imExten.c
> index 58de32e..c2e48a8 100644
> --- a/modules/im/ximcp/imExten.c
> +++ b/modules/im/ximcp/imExten.c
> @@ -367,7 +367,7 @@ _XimParseExtensionList(
> if (!(n = _XimCountNumberOfExtension(data[0], (CARD8 *)&data[1])))
> return True;
>
> - buf = (CARD8 *)&data[1];;
> + buf = (CARD8 *)&data[1];
> for (i = 0; i < n; i++) {
> len = *((INT16 *)(&buf[2]));
> for (j = 0; j < num; j++) {
> diff --git a/src/xkb/XKBNames.c b/src/xkb/XKBNames.c
> index 2bc94d3..1f6115b 100644
> --- a/src/xkb/XKBNames.c
> +++ b/src/xkb/XKBNames.c
> @@ -549,7 +549,7 @@ XkbChangeNames(Display *dpy, XkbDescPtr xkb, XkbNameChangesPtr changes)
> which = changes->changed;
> firstType = changes->first_type;
> nTypes = changes->num_types;
> - firstLvlType = changes->first_lvl;;
> + firstLvlType = changes->first_lvl;
> nLvlTypes = changes->num_lvls;
> if (which & XkbKeyTypeNamesMask) {
> if (nTypes < 1)
> diff --git a/src/xlibi18n/lcPrTxt.c b/src/xlibi18n/lcPrTxt.c
> index 1e387b9..5ab5ad4 100644
> --- a/src/xlibi18n/lcPrTxt.c
> +++ b/src/xlibi18n/lcPrTxt.c
> @@ -150,7 +150,7 @@ _XTextPropertyToTextList(
> return XConverterNotFound;
>
> if (is_wide_char) {
> - buf_len = (text_prop->nitems + 1) * sizeof(wchar_t);;
> + buf_len = (text_prop->nitems + 1) * sizeof(wchar_t);
> } else {
> if (strcmp(to_type, XlcNUtf8String) == 0)
> buf_len = text_prop->nitems * 6 + 1;
> --
> 1.7.9.2
>
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel
More information about the xorg-devel
mailing list