Fix dead assignment

by making code look like other parts of the code looks