chiark
/
gitweb
/
~ian
/
sgt-puzzles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c42aec
)
Optimiser placation.
author
Simon Tatham
<anakin@pobox.com>
Fri, 29 Jun 2007 09:45:44 +0000
(09:45 +0000)
committer
Simon Tatham
<anakin@pobox.com>
Fri, 29 Jun 2007 09:45:44 +0000
(09:45 +0000)
[originally from svn r7625]
unfinished/slide.c
patch
|
blob
|
history
diff --git
a/unfinished/slide.c
b/unfinished/slide.c
index 84639ed835bfa4d8792eea45772353b240cf2a09..d1496573490db388d05e46e88a308031a70422cb 100644
(file)
--- 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