diff options
| author | Simon Tatham <anakin@pobox.com> | 2010-01-13 19:25:56 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2010-01-13 19:25:56 +0000 |
| commit | 65b37d5dd5f863065cce72665dd8303fe1a08794 (patch) | |
| tree | 5c96d180acd077047f8df136b13e491bed05b13c | |
| parent | 0d0619868dc344a039211f8fa1105fee88bd6f24 (diff) | |
| download | puzzles-65b37d5dd5f863065cce72665dd8303fe1a08794.zip puzzles-65b37d5dd5f863065cce72665dd8303fe1a08794.tar.gz puzzles-65b37d5dd5f863065cce72665dd8303fe1a08794.tar.bz2 puzzles-65b37d5dd5f863065cce72665dd8303fe1a08794.tar.xz | |
Placate optimiser.
[originally from svn r8838]
| -rw-r--r-- | magnets.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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); |