X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fmaze.c;h=7690555d2249f17439912edbb9b40be327325250;hb=2a991a811de4c7b22f812682b267b616a809fd9a;hp=2593f235dad23be6df40b8f27a368a6dc5cfe9f3;hpb=481b95e2617b69e6fd4444432747d7e1e0c3dc85;p=xscreensaver diff --git a/hacks/maze.c b/hacks/maze.c index 2593f235..7690555d 100644 --- a/hacks/maze.c +++ b/hacks/maze.c @@ -35,7 +35,7 @@ * Added bridge option. * modified: [ 8-11-95 ] Ed James * added fill of dead-end box to solve_maze while loop. - * modified: [ 3-7-93 ] Jamie Zawinski + * modified: [ 3-7-93 ] Jamie Zawinski * added the XRoger logo, cleaned up resources, made * grid size a parameter. * modified: [ 3-3-93 ] Jim Randell @@ -1373,7 +1373,7 @@ find_dead_regions(void) static void solve_maze (void) /* solve it with graphical feedback */ { - int i, dir, from, x, y, ways, bt; + int i, dir, from, x, y, ways, bt = 0; /* plug up the surrounding wall */ maze[end_x][end_y] |= (WALL_TOP >> end_dir); @@ -1533,7 +1533,7 @@ enter_square (int n) /* move into a neighboring square */ /* - * jmr additions for Jamie Zawinski's screensaver stuff, + * jmr additions for Jamie Zawinski's screensaver stuff, * note that the code above this has probably been hacked about in some * arbitrary way. */