Fixing assignment during initialization issue
Merge pull request #299 from ilyavolodin/no-unused-vars

Fixing assignment during initialization issue (Closes #298)