[Trivial] Issue 12608 - Avoid dead assignments.

https://issues.dlang.org/show_bug.cgi?id=12608

The rest were changed to be future-proof.