Remove unused variable

Issue(s) found via [cppcheck](http://cppcheck.sourceforge.net/).