cast to size_t instead of int for g++ compatibility and deleted unused local vars
cast to size_t instead of int for g++ compatibility and deleted unused local vars

FROGGS/parrot,youprofit/parrot,gitster/parrot,gitster/parrot,youprofit/parrot,gagern/parrot,tkob/parrot,tkob/parrot,youprofit/parrot,youprofit/parrot,gitster/parrot,FROGGS/parrot,gitster/parrot,gagern/parrot,gagern/parrot,tkob/parrot,gagern/parrot,parrot/parrot,FROGGS/parrot,gagern/parrot,parrot/parrot,tkob/parrot,youprofit/parrot,tkob/parrot,FROGGS/parrot,gitster/parrot,gagern/parrot,youprofit/parrot,tkob/parrot,parrot/parrot,youprofit/parrot,FROGGS/parrot,FROGGS/parrot,FROGGS/parrot,parrot/parrot,gagern/parrot,tkob/parrot,tkob/parrot,youprofit/parrot,gitster/parrot,parrot/parrot,FROGGS/parrot,gitster/parrot