aboutsummaryrefslogtreecommitdiff
path: root/midend.c
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2022-11-10 12:37:10 +0000
committerSimon Tatham <anakin@pobox.com>2022-11-10 12:37:10 +0000
commit2a025477554698a3bf28c20650c990fce80d49d3 (patch)
tree3b3bc25257100303c3f258083567092c8e65f5dd /midend.c
parent00e4d79db112140c47e32af6b1b09454f4e04f05 (diff)
downloadpuzzles-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.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/midend.c b/midend.c
index 8e63eb7..3748c47 100644
--- a/midend.c
+++ b/midend.c
@@ -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