summaryrefslogtreecommitdiff
path: root/src/mongo/client/remote_command_targeter_factory_impl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/client/remote_command_targeter_factory_impl.cpp')
-rw-r--r--src/mongo/client/remote_command_targeter_factory_impl.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mongo/client/remote_command_targeter_factory_impl.cpp b/src/mongo/client/remote_command_targeter_factory_impl.cpp
index 338cde7c504..3c3b1974eac 100644
--- a/src/mongo/client/remote_command_targeter_factory_impl.cpp
+++ b/src/mongo/client/remote_command_targeter_factory_impl.cpp
@@ -54,7 +54,6 @@ std::unique_ptr<RemoteCommandTargeter> RemoteCommandTargeterFactoryImpl::create(
return stdx::make_unique<RemoteCommandTargeterRS>(connStr.getSetName(),
connStr.getServers());
case ConnectionString::INVALID:
- case ConnectionString::SYNC:
// These connections should never be seen
break;
}