Remove unnecessary assignment expressions

Correct fix #389
Merge pull request #400 from namusyaka/correct-fix-389

Remove unnecessary assignment expressions