compilation using clang finds yet another unused variable declaration

 compilation using clang finds yet another unused variable declaration warning causing error