Merge branch 'fix/gcc-warnings' into 'master'
Fix (most) warnings from gcc This fixes some simple warnings (mostly unused variables and declaring `int i` inside and outside a for). From the outputs of buildbot, it seems the remaining warnings are either from ThirdyParty or from gcc being dumb. See merge request !564
Showing with 22 additions and 18 deletions