Get rid of dead code in menu_iterate