diff options
| author | Simon Tatham <anakin@pobox.com> | 2022-11-10 12:37:10 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2022-11-10 12:37:10 +0000 |
| commit | 2a025477554698a3bf28c20650c990fce80d49d3 (patch) | |
| tree | 3b3bc25257100303c3f258083567092c8e65f5dd /midend.c | |
| parent | 00e4d79db112140c47e32af6b1b09454f4e04f05 (diff) | |
| download | puzzles-2a025477554698a3bf28c20650c990fce80d49d3.zip puzzles-2a025477554698a3bf28c20650c990fce80d49d3.tar.gz puzzles-2a025477554698a3bf28c20650c990fce80d49d3.tar.bz2 puzzles-2a025477554698a3bf28c20650c990fce80d49d3.tar.xz | |
Remove a couple of unused variables.
These broke the overnight build, due to -Werror.
Diffstat (limited to 'midend.c')
| -rw-r--r-- | midend.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -320,7 +320,7 @@ static void midend_size_new_drawstate(midend *me) static int convert_tilesize(midend *me, int old_tilesize, double old_dpr, double new_dpr) { - int x, y, rx, ry, min, max, mid; + int x, y, rx, ry, min, max; game_params *defaults = me->ourgame->default_params(); if (new_dpr == old_dpr) @@ -353,7 +353,6 @@ void midend_size(midend *me, int *x, int *y, bool user_size, { int min, max; int rx, ry; - int preferred_tilesize; /* * We can't set the size on the same drawstate twice. So if |