OSDN Git Service

avoid clobbering loop counter
authorUrabe, Shyouhei <shyouhei@ruby-lang.org>
Tue, 22 Mar 2016 11:37:50 +0000 (20:37 +0900)
committerUrabe, Shyouhei <shyouhei@ruby-lang.org>
Tue, 22 Mar 2016 11:37:50 +0000 (20:37 +0900)
commit5a54b532d970b9d76862ee47b5364bcbc2f82330
treee52cf64360bf95153ec14bd359d784cb9f9667eb
parentc0e5bf414949f86d5a95f35498de7c8c02b2450b
avoid clobbering loop counter

This was safe, because the outer loop ends here.  But was definitely a
bad habit, and reusing local variable to save memory is a lame
technique.
nkf.c