summaryrefslogtreecommitdiff
path: root/src/Selection.c
diff options
context:
space:
mode:
authorWalter Harms <wharms@bfs.de>2019-01-08 21:45:09 +0100
committerWalter Harms <wharms@bfs.de>2019-01-08 21:45:09 +0100
commita343fb6d854dd345a0216435b97e51b8f4dd4425 (patch)
treea98da3852d9561a6f9c9ddc3947a0561bd3fb0fe /src/Selection.c
parent0aae899ba1724bfb16ab1bbe7238b3f75cbb6550 (diff)
resolv:shadows a previous local
Diffstat (limited to 'src/Selection.c')
-rw-r--r--src/Selection.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Selection.c b/src/Selection.c
index 4f59d70..ead96fc 100644
--- a/src/Selection.c
+++ b/src/Selection.c
@@ -2043,6 +2043,7 @@ void XtSendSelectionRequest(
QueuedRequestInfo queueInfo;
Window window = XtWindow(widget);
Display *dpy = XtDisplay(widget);
+ int i;
LOCK_PROCESS;
if (multipleContext == 0) multipleContext = XUniqueContext();
@@ -2051,7 +2052,6 @@ void XtSendSelectionRequest(
(void) XFindContext(dpy, window, multipleContext, (XPointer*) &queueInfo);
if (queueInfo != NULL) {
int count = 0;
- int i;
QueuedRequest *req = queueInfo->requests;
/* Construct the requests and send it using
@@ -2079,7 +2079,6 @@ void XtSendSelectionRequest(
Boolean ins[PREALLOCED];
Atom *props;
Atom p[PREALLOCED];
- int i = 0;
int j = 0;
/* Allocate */