File U_libXt_code-cleanup.patch of Package libXt

From e8e2560e3391fa9c240235207a909855bfa7c73f Mon Sep 17 00:00:00 2001
From: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Sun, 27 Sep 2015 18:54:57 -0700
Subject: Get rid of some extraneous ; at the end of C source lines

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

diff --git a/src/Geometry.c b/src/Geometry.c
index d64c8e2..66571be 100644
--- a/src/Geometry.c
+++ b/src/Geometry.c
@@ -456,7 +456,7 @@ _XtMakeGeometryRequest (
 
 	ClearRectObjAreas((RectObj)widget, &req.changes);
     }
-    hookobj = XtHooksOfDisplay(XtDisplayOfObject(widget));;
+    hookobj = XtHooksOfDisplay(XtDisplayOfObject(widget));
     if (XtHasCallbacks(hookobj, XtNconfigureHook) == XtCallbackHasSome) {
 	req.type = XtHconfigure;
 	req.widget = widget;
@@ -573,7 +573,7 @@ void XtResizeWindow(
 	req.changeMask = CWWidth | CWHeight | CWBorderWidth;
 	XConfigureWindow(XtDisplay(w), XtWindow(w),
 	    (unsigned) req.changeMask, &req.changes);
-	hookobj = XtHooksOfDisplay(XtDisplayOfObject(w));;
+	hookobj = XtHooksOfDisplay(XtDisplayOfObject(w));
 	if (XtHasCallbacks(hookobj, XtNconfigureHook) == XtCallbackHasSome) {
 	    req.type = XtHconfigure;
 	    req.widget = w;
@@ -661,7 +661,7 @@ void XtConfigureWidget(
 		ClearRectObjAreas((RectObj)w, &old);
 	    }
 	}
-	hookobj = XtHooksOfDisplay(XtDisplayOfObject(w));;
+	hookobj = XtHooksOfDisplay(XtDisplayOfObject(w));
 	if (XtHasCallbacks(hookobj, XtNconfigureHook) == XtCallbackHasSome) {
 	    req.type = XtHconfigure;
 	    req.widget = w;
diff --git a/src/TMstate.c b/src/TMstate.c
index 4a634b4..3d51a1a 100644
--- a/src/TMstate.c
+++ b/src/TMstate.c
@@ -382,7 +382,7 @@ TMShortCard _XtGetModifierIndex(
 	j = 0;
     }
     modMatch = &segment[j];
-    modMatch->modifiers = event->modifiers;;
+    modMatch->modifiers = event->modifiers;
     modMatch->modifierMask = event->modifierMask;
     modMatch->standard = event->standard;
     /*
-- 
cgit v0.10.2
openSUSE Build Service is sponsored by