fix uninitialsed variable
Merge pull request #113 from philrandal/master

Fix uninitialised variable

issue #21 is happy again