aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/xlib.c2
1 files changed, 0 insertions, 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){