From http://www.jwz.org/xscreensaver/xscreensaver-5.37.tar.gz
[xscreensaver] / hacks / hypercube.c
index ab131b199b1050d93250e014c2fe2c37311bc336..0055696b8d110c66703fc8e94f69bdcca3540412 100644 (file)
@@ -244,7 +244,7 @@ hypercube_draw (Display *dpy, Window window, void *closure)
   struct hyper_state *hs = (struct hyper_state *) closure;
   int this_delay = hs->hs_delay;
 
-#ifdef HAVE_COCOA      /* Don't second-guess Quartz's double-buffering */
+#ifdef HAVE_JWXYZ      /* Don't second-guess Quartz's double-buffering */
   XClearWindow (dpy, window);
 #endif
 
@@ -254,7 +254,6 @@ hypercube_draw (Display *dpy, Window window, void *closure)
       char moved[POINT_COUNT];
       int redraw;
       int stop;
-      int delay;
 
       icon = hs->hs_icon;
       resize = hs->hs_resize;
@@ -473,7 +472,6 @@ hypercube_draw (Display *dpy, Window window, void *closure)
 
     skip3:
       /* stop = hs->hs_stop; */
-      delay = hs->hs_delay;
       if (stop && this_delay < 10000)
        this_delay = 10000;
     }