Fix strict warnings for cat walker class, closes #4319
Merge pull request #4321 from kloon/fix_cat_walker_strict_warnings

Fix strict warnings for cat walker class, closes #4319