[PATCH:libX11] Get rid of some extraneous ; at the end of C source lines
Alan Coopersmith
alan.coopersmith at oracle.com
Sun Sep 27 18:38:32 PDT 2015
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
More information about the xorg-devel
mailing list