Removed unused iterator declaration

Compilation error on Ubuntu 12.04; -Werror finds that "it" is unused.