From: Simon Tatham Date: Fri, 29 Jun 2007 09:45:44 +0000 (+0000) Subject: Optimiser placation. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=d9c4a9b659aa9eb2885b138caab02ffa58e67bef;p=sgt-puzzles.git Optimiser placation. [originally from svn r7625] --- 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