Various -Wunused-but-set-variable warnings

Yes, but figuring out which should be removed vs used is exactly why I’ve written here :slight_smile: Me git blaming each one is labourious. Before resorting to that, I’m hoping the code owners of the various classes I listed can do a triage first.

Cheers,

Sean