Fix clang warnings

Uninitialized variable and variable assigned to itself.

PS. Releasing a new version would be appreciated, as code contains other useful fixes compared to 1.02.