CXX-277 Eliminate unused variable