Re #7480. Remove unused variable.
Re #7480. Don't initialise variable unnecessarily.
Re #7480. Remove unused variable.
Re #7480. Remove unused variable (gave cppcheck warning).
Re #7480. Try to clear GCC compiler warning.
Re #7480. Clear cppcheck warnings while I have the file open.
Merge branch 'bugfix/7480_gcc_compiler_warnings' into develop