simon-svn: puzzles: simon

Commits to Tartarus CVS repository. tartarus-commits at lists.tartarus.org
Mon Mar 11 19:58:28 GMT 2013


SVN root:       svn://svn.tartarus.org/sgt
Changes by:     simon
Revision:       9773
Date:           2013-03-11 19:58:28 +0000 (Mon, 11 Mar 2013)

Log message (6 lines):
Remove a redundant and also erroneous memset.

(If you're going to memset a struct to 0 before filling in the fields
you care about, do use sizeof the struct rather than sizeof the
pointer; but also, if you're filling in _every_ field, there's no need
to bother anyway.)

Modified files:
U   puzzles/lightup.c

Links:
http://svn.tartarus.org/sgt/?rev=9773&view=rev
http://svn.tartarus.org/sgt/puzzles/lightup.c?rev=9773&r1=9772&r2=9773



More information about the tartarus-commits mailing list