Fix assign instead of equality operator
Merge branch 'Development' of github.com:emmamei/cdkey into Development

* 'Development' of github.com:emmamei/cdkey:
  remove declarations from loops