GCC warnings

Attempt to fix any compiler warnings that appear on GCC dashboards.

I also was using a pretty picky compiler, so there is probably several fixes that have no impact on the current dashboard set.

Merge request reports

Loading