Remove assigned but unused variable