fixed a build error due to an unused variable breaking the build since our coding standard
is to ensure building with -Werror,-Wunused-variable
Merge pull request #253 from johnbent/master

Fixed build error.