Remove useless var in tree insert.