aboutsummaryrefslogtreecommitdiff
path: root/unfinished
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2007-06-29 09:45:44 +0000
committerSimon Tatham <anakin@pobox.com>2007-06-29 09:45:44 +0000
commitd9c4a9b659aa9eb2885b138caab02ffa58e67bef (patch)
treef92348bfc99cd0f6adb14cd119b520922ed90b97 /unfinished
parent1c42aec23456b4d4aa7c6577f71603e9602f4863 (diff)
downloadpuzzles-d9c4a9b659aa9eb2885b138caab02ffa58e67bef.zip
puzzles-d9c4a9b659aa9eb2885b138caab02ffa58e67bef.tar.gz
puzzles-d9c4a9b659aa9eb2885b138caab02ffa58e67bef.tar.bz2
puzzles-d9c4a9b659aa9eb2885b138caab02ffa58e67bef.tar.xz
Optimiser placation.
[originally from svn r7625]
Diffstat (limited to 'unfinished')
-rw-r--r--unfinished/slide.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unfinished/slide.c b/unfinished/slide.c
index 84639ed..d149657 100644
--- a/unfinished/slide.c
+++ b/unfinished/slide.c
@@ -651,7 +651,7 @@ static void generate_board(int w, int h, int *rtx, int *rty, int *minmoves,
int *list, nlist, pos;
int tx, ty;
int i, j;
- int moves;
+ int moves = 0; /* placate optimiser */
/*
* Set up a board and fill it with singletons, except for a