remove warnings about unused variables
Merge branch 'master' into new-mongo-c-driver