summaryrefslogtreecommitdiffstats
path: root/x11vnc/selection.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11vnc/selection.c')
-rw-r--r--x11vnc/selection.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/x11vnc/selection.c b/x11vnc/selection.c
index 373253b..ea56a5a 100644
--- a/x11vnc/selection.c
+++ b/x11vnc/selection.c
@@ -133,8 +133,6 @@ void selection_request(XEvent *ev, char *type) {
targets[0] = (Atom) xa_targets;
targets[1] = (Atom) XA_STRING;
- data = (unsigned char *)str;
-
ret = XChangeProperty(ev->xselectionrequest.display,
ev->xselectionrequest.requestor,
ev->xselectionrequest.property,