From http://www.jwz.org/xscreensaver/xscreensaver-5.31.tar.gz
[xscreensaver] / hacks / glx / tronbit.c
index b0ee542e0a672373f60252217cc4b954dfed3c9d..3c82428136a347681f5b1f70416c673bc776a2d4 100644 (file)
@@ -316,10 +316,11 @@ draw_histogram (ModeInfo *mi, GLfloat ratio)
         j = bp->histogram_fp + 1;
         for (i = 0; i < samples; i++)
           {
-            GLfloat x = i;
+            GLfloat x, y, z;
             if (j >= samples) j = 0;
-            GLfloat y = bp->histogram[j];
-            GLfloat z = 0;
+            x = i;
+            y = bp->histogram[j];
+            z = 0;
 
             y += (int) ((random() % 16) - 8);
             y += 16;  /* margin at bottom of screen */