shithub: puzzles

Download patch

ref: 2a025477554698a3bf28c20650c990fce80d49d3
parent: 00e4d79db112140c47e32af6b1b09454f4e04f05
author: Simon Tatham <anakin@pobox.com>
date: Thu Nov 10 07:37:10 EST 2022

Remove a couple of unused variables.

These broke the overnight build, due to -Werror.

--- a/midend.c
+++ b/midend.c
@@ -320,7 +320,7 @@
 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 @@
 {
     int min, max;
     int rx, ry;
-    int preferred_tilesize;
 
     /*
      * We can't set the size on the same drawstate twice. So if