Fix cppcheck warning
Merge pull request #17 from jafyvilla/master

Fix cppcheck warning