Warning fixes at -Og
I've been trying to use
-Doptimize=g to get slightly better debug info, but it's more annoying to use than you'd hope because it generates different warnings. This gets my build warning-clean with gcc 10.2.1.
Would be clever if we could make one of the
-Werror-enabled CI builds do
-Doptimize=g too, to keep things clean.