Removal of unused int

- Removed unused int cnt auto variable