Code: Analysis warning fixes. (#519)
Moves hash initialization to correct position
Merge pull request #576 from mgreter/fix/build-older-gcc

Moves hash initialization to correct position
Merge pull request #572 from am11/master

Code: cleanup and analysis warning fixes (#519)