Remove a couple of unused variables.

These broke the overnight build, due to -Werror.
This commit is contained in:
Simon Tatham
2022-11-10 12:37:10 +00:00
parent 00e4d79db1
commit 2a02547755

View File

@ -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