From dbb013b2e014eded2cf2c6398c675f2cb52eaf53 Mon Sep 17 00:00:00 2001 From: Stéphane Aulery Date: Sat, 28 Jan 2012 21:54:55 +0100 Subject: Remove unused variable in selections.c: src --- selections.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'selections.c') diff --git a/selections.c b/selections.c index 262caa5..10a2617 100644 --- a/selections.c +++ b/selections.c @@ -476,7 +476,6 @@ selection_xfer(Widget widget, XtPointer ignore, XtPointer call_data) if (scs->target == XA_PIXMAP) { /* beaming pixmaps between apps */ - Screen *scr; Window root; Pixmap pix; int x,y,w,h,bw,depth; @@ -486,7 +485,6 @@ selection_xfer(Widget widget, XtPointer ignore, XtPointer call_data) pix = ldata[0]; if (debug) fprintf(stderr,"xfer: => id=0x%lx\n",pix); - scr = XtScreen(widget); XGetGeometry(dpy,pix,&root,&x,&y,&w,&h,&bw,&depth); ximage = XGetImage(dpy,pix,0,0,w,h,-1,ZPixmap); parse_ximage(&img, ximage); -- cgit