cppcheck: redundantAssignment

Change-Id: I9fa611a2f47d2a7f54835419adf0b6c2610ebb66