Remove shadow declarations in collection.c
Remove declaration and assignment of unused variable
Merge pull request #592