fix scan-build complaint
Merge pull request #66 from satta/sb

fix scan-build complaint