Refs #8962 Fixing cppcheck and gcc warnings

this should fix the cppcheck and gcc compiler warnings caused by my work on this ticket
Merge branch 'feature/8962_Save_Load_Refl_tbl' into develop