Travis: Fixed Cppcheck warnings (related to #4547)