ref: c82537b4574d45aa16e50b7f8dc1f075cfdb69f9
parent: de13ca2874e673b426efcf04f734ae6625635396
author: Simon Tatham <anakin@pobox.com>
date: Fri Jun 16 15:03:56 EDT 2023
Fix some unused-variable warnings. A test-build with a modern clang points out a number of 'set but not used' variables, which clang seems to have got better at recently. In cases where there's conditioned-out or commented-out code using the variable, I've left it in and added a warning-suppressing cast to void. Otherwise I've just deleted the variables.