refs #10384 Cppcheck warnings