simon-svn: puzzles: simon

Commits to Tartarus CVS repository. tartarus-commits at lists.tartarus.org
Fri Jun 1 19:41:23 BST 2012


SVN root:       svn://svn.tartarus.org/sgt
Changes by:     simon
Revision:       9546
Date:           2012-06-01 19:41:23 +0100 (Fri, 01 Jun 2012)

Log message (6 lines):
Add pointless initialisations to placate a gcc warning.

(I'm confident these can't happen. maxb is initialised whenever we
break from the first loop with y < h, and when we don't break from
that loop the second loop which uses maxb is run zero times. But gcc
can't work that out, sigh.)

Modified files:
U   puzzles/bridges.c

Links:
http://svn.tartarus.org/sgt/?rev=9546&view=rev
http://svn.tartarus.org/sgt/puzzles/bridges.c?rev=9546&r1=9545&r2=9546



More information about the tartarus-commits mailing list