removed dead assignment variable