ref: 8c547d5320864bca867ab8008e9e2dd4a4a4bc6b
parent: 622a5ff678773eefd3fe1a246d1c14dcd7c3ce40
author: Simon Tatham <anakin@pobox.com>
date: Sat Aug 27 05:35:14 EDT 2005
OS X seems particularly picky about possibly uninitialised variables. Placate its optimiser (again). [originally from svn r6223]
--- a/inertia.c
+++ b/inertia.c
@@ -304,6 +304,7 @@
/*
* Find the starting square.
*/
+ sx = -1; /* placate optimiser */
for (sy = 0; sy < h; sy++) {
for (sx = 0; sx < w; sx++)
if (AT(w, h, grid, sx, sy) == START)