summaryrefslogtreecommitdiff
path: root/src/mongo/client/dbclient.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/client/dbclient.cpp')
-rw-r--r--src/mongo/client/dbclient.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/client/dbclient.cpp b/src/mongo/client/dbclient.cpp
index 2ce3628e7de..e3869b773df 100644
--- a/src/mongo/client/dbclient.cpp
+++ b/src/mongo/client/dbclient.cpp
@@ -1432,7 +1432,7 @@ bool DBClientConnection::call(Message& toSend,
if (response.operation() == dbCompressed) {
response = uassertStatusOK(_compressorManager.decompressMessage(response));
}
- } catch (const DBException& ex) {
+ } catch (const DBException&) {
_failed = true;
_port->shutdown();
throw;