Remove unnecessary assignment
scan warnings