mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 16:05:44 -07:00
Remove a couple of unused variables.
These broke the overnight build, due to -Werror.
This commit is contained in:
3
midend.c
3
midend.c
@ -320,7 +320,7 @@ static void midend_size_new_drawstate(midend *me)
|
|||||||
static int convert_tilesize(midend *me, int old_tilesize,
|
static int convert_tilesize(midend *me, int old_tilesize,
|
||||||
double old_dpr, double new_dpr)
|
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();
|
game_params *defaults = me->ourgame->default_params();
|
||||||
|
|
||||||
if (new_dpr == old_dpr)
|
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 min, max;
|
||||||
int rx, ry;
|
int rx, ry;
|
||||||
int preferred_tilesize;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* We can't set the size on the same drawstate twice. So if
|
* We can't set the size on the same drawstate twice. So if
|
||||||
|
Reference in New Issue
Block a user