Skip to content
This repository has been archived by the owner on Sep 2, 2022. It is now read-only.

Commit

Permalink
SERVER-18236 remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
amidvidy committed Jun 3, 2015
1 parent afb7ac5 commit db06d0a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/mongo/rpc/metadata/server_selection_metadata.cpp
Expand Up @@ -149,7 +149,6 @@ namespace {
StatusWith<ServerSelectionMetadata>
ServerSelectionMetadata::readFromMetadata(const BSONObj& metadata) {
auto secondaryOkField = metadata.getField(kSecondaryOkFieldName);
auto readPrefField = metadata.getField(kReadPreferenceFieldName);

bool secondaryOk = !secondaryOkField.eoo();

Expand Down

0 comments on commit db06d0a

Please sign in to comment.