Placate optimiser.

[originally from svn r8838]
This commit is contained in:
Simon Tatham
2010-01-13 19:25:56 +00:00
parent 0d0619868d
commit 65b37d5dd5

View File

@ -1809,8 +1809,10 @@ static char *interpret_move(game_state *state, game_ui *ui, game_drawstate *ds,
movech = ' ';
else
movech = '.';
} else
} else {
assert(!"unknown action");
movech = 0; /* placate optimiser */
}
sprintf(buf, "%c%d,%d", movech, gx, gy);