Remove unused assignments, noticed by Clang analyzer.

MFC after:	1 week

(cherry picked from commit 05828b159de1e36e7e6a4a5e01a024fb7059f9ef)