From ff2d82f72e226af17db96001bb1fee13f9d82c6e Mon Sep 17 00:00:00 2001 From: John Hawthorn Date: Wed, 15 May 2013 06:32:34 -0700 Subject: xlib.c: default visual is unused --- src/xlib.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/xlib.c b/src/xlib.c index 9e1a167..0558689 100644 --- a/src/xlib.c +++ b/src/xlib.c @@ -33,10 +33,8 @@ static void ximage(struct data_t *data, struct image *img, unsigned int width, u int depth; XImage *ximg = NULL; XShmSegmentInfo *shminfo = NULL; - Visual *vis; depth = DefaultDepth(display, screen); - vis = DefaultVisual(display, screen); if(depth >= 24){ if(xshm){ -- cgit v1.2.3