aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohn Hawthorn <john.hawthorn@gmail.com>2013-05-15 06:32:34 -0700
committerJohn Hawthorn <john.hawthorn@gmail.com>2013-08-03 14:26:19 -0700
commitff2d82f72e226af17db96001bb1fee13f9d82c6e (patch)
tree6389619a20da3ccf860c9b5def84fb2cab184ab1 /src
parent6bb02ebe1b79ac6cdb92766526051902c8114e89 (diff)
downloadmirror-meh-ff2d82f72e226af17db96001bb1fee13f9d82c6e.tar.gz
mirror-meh-ff2d82f72e226af17db96001bb1fee13f9d82c6e.tar.bz2
mirror-meh-ff2d82f72e226af17db96001bb1fee13f9d82c6e.zip
xlib.c: default visual is unused
Diffstat (limited to 'src')
-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){