Fix read access to uninitialized variable
Merge branch 'master' of https://github.com/danmar/cppcheck