cppcheck: fix unusedVariable
Merge pull request #76 from toxeus/unusedVariable

cppcheck: fix unusedVariable