cppcheck: fix redundantAssignment
Merge pull request #100 from toxeus/fixRedundantAssignment

cppcheck: fix redundantAssignment