Remove redundant assignment.

Found with the Clang static analyzer.