diff options
| author | Simon Tatham <anakin@pobox.com> | 2005-08-27 09:35:14 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2005-08-27 09:35:14 +0000 |
| commit | 8c547d5320864bca867ab8008e9e2dd4a4a4bc6b (patch) | |
| tree | 5c2bf5d27f341a8fec63ced15722d24414136b15 | |
| parent | 622a5ff678773eefd3fe1a246d1c14dcd7c3ce40 (diff) | |
| download | puzzles-8c547d5320864bca867ab8008e9e2dd4a4a4bc6b.zip puzzles-8c547d5320864bca867ab8008e9e2dd4a4a4bc6b.tar.gz puzzles-8c547d5320864bca867ab8008e9e2dd4a4a4bc6b.tar.bz2 puzzles-8c547d5320864bca867ab8008e9e2dd4a4a4bc6b.tar.xz | |
OS X seems particularly picky about possibly uninitialised
variables. Placate its optimiser (again).
[originally from svn r6223]
| -rw-r--r-- | inertia.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -304,6 +304,7 @@ static int find_gem_candidates(int w, int h, char *grid, /* * 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) |