http://www.jwz.org/xscreensaver/xscreensaver-5.12.tar.gz
[xscreensaver] / hacks / strange.c
index dce0182eeb88c297d3a5339cc354cc906abb23b0..8343d010aee498c7eb88e9a8ad186ab5fcb1a81a 100644 (file)
@@ -607,7 +607,7 @@ init_strange(ModeInfo * mi)
        #define A Attractor
        if (useAccumulator) {
                XWindowAttributes xgwa;
-               int i,j,got_color;
+               int i,j;
                XGetWindowAttributes (display, window, &xgwa);
                /* cmap = xgwa.colormap; */
                /* cmap = XCreateColormap(display, window, MI_VISUAL(mi), AllocAll); */
@@ -638,7 +638,7 @@ init_strange(ModeInfo * mi)
                                cols[i].green = 65536*(li-FULLBLUE)/(256-FULLBLUE);
                                cols[i].blue = 65535;
                        }
-                       got_color = XAllocColor (display, xgwa.colormap, &cols[i]);
+                       XAllocColor (display, xgwa.colormap, &cols[i]);
                        /*
                        if (!XAllocColor(MI_DISPLAY(mi), cmap, &cols[i])) {
                        if (!XAllocColor(display, cmap, &cols[i])) {