From f857c70f822c8e1147d74a2994acb765742e72e0 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sun, 27 Sep 2015 18:38:32 -0700 Subject: Get rid of some extraneous ; at the end of C source lines Signed-off-by: Alan Coopersmith Reviewed-by: Thomas Klausner Backported-to-NX-by: Ulrich Sibiller --- nx-X11/lib/X11/XKBNames.c | 2 +- nx-X11/lib/X11/imExten.c | 2 +- nx-X11/lib/X11/lcPrTxt.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'nx-X11/lib') diff --git a/nx-X11/lib/X11/XKBNames.c b/nx-X11/lib/X11/XKBNames.c index 44f71cedf..951fd1da8 100644 --- a/nx-X11/lib/X11/XKBNames.c +++ b/nx-X11/lib/X11/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/nx-X11/lib/X11/imExten.c b/nx-X11/lib/X11/imExten.c index 7ed4c6be9..532b18d3b 100644 --- a/nx-X11/lib/X11/imExten.c +++ b/nx-X11/lib/X11/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/nx-X11/lib/X11/lcPrTxt.c b/nx-X11/lib/X11/lcPrTxt.c index f038bd70b..e62e94e80 100644 --- a/nx-X11/lib/X11/lcPrTxt.c +++ b/nx-X11/lib/X11/lcPrTxt.c @@ -149,7 +149,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; -- cgit v1.2.3