CXX-277 eliminate unused variable
CXX-277 Add missing platform/basic.h to some tests
CXX-277 Fix use of forward decl warning