~mdw
/
sgt
/
puzzles
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix build failure on MacOS by initialising a variable which was
[sgt/puzzles]
/
signpost.c
diff --git
a/signpost.c
b/signpost.c
index
cfae28e
..
fec2084
100644
(file)
--- a/
signpost.c
+++ b/
signpost.c
@@
-916,7
+916,7
@@
static int used_colour(game_state *state, int i, int start)
static int head_number(game_state *state, int i, int *scratch)
{
static int head_number(game_state *state, int i, int *scratch)
{
- int off = 0, found = 0, start, ss, j = i, c, n, sz;
+ int off = 0, found = 0, start
= 0
, ss, j = i, c, n, sz;
const char *why = NULL;
assert(state->prev[i] == -1 && state->next[i] != -1);
const char *why = NULL;
assert(state->prev[i] == -1 && state->next[i] != -1);