static void Execute( struct state *st )
{
- unsigned int i, j, k;
+ int i, j, k;
/* clear st->blub array */
for (i = 0; i < st->iWinHeight; ++i)
{
XGCValues gcValues;
XWindowAttributes XWinAttribs;
- int iBitsPerPixel, i, j;
+ int /*iBitsPerPixel,*/ i, j;
unsigned int distance_squared;
float fraction;
XGetWindowAttributes( st->dpy, st->window, &XWinAttribs );
/* Find the preferred bits-per-pixel. (jwz) */
+#if 0
{
int pfvc = 0;
XPixmapFormatValues *pfv = XListPixmapFormats( st->dpy, &pfvc );
if( pfv )
XFree (pfv);
}
+#endif
/* Create the GC. */
st->gc = XCreateGC( st->dpy, st->window, 0, &gcValues );