Fix cppcheck warning.
Merge pull request #113 from jafyvilla/master

Fix cppcheck warning.